Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 210.8 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.95 MB / 361.6 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 79.88 kB / 0.497 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3331, allocations: 66.07 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003139/0.3362, allocations: 1.677 MB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3379, allocations: 0.9476 MB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.338, allocations: 0 / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.3383, allocations: 55.75 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3386, allocations: 103.6 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.3388, allocations: 75.67 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.339, allocations: 99.69 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.339, allocations: 4.234 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.3391, allocations: 55.77 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.3392, allocations: 35.84 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3392, allocations: 7.938 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.3393, allocations: 35.97 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.3394, allocations: 23.92 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.3394, allocations: 19.81 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3396, allocations: 109.4 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3396, allocations: 0 / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3396, allocations: 0 / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3396, allocations: 0 / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005218/0.3401, allocations: 337.6 kB / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3402, allocations: 12.03 kB / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.3402, allocations: 192 / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.3402, allocations: 38.73 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.3403, allocations: 12.83 kB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.3405, allocations: 151.7 kB / 0.5652 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3405, allocations: 384 / 0.5652 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.3405, allocations: 4.375 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3407, allocations: 49.61 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3407, allocations: 0 / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3407, allocations: 4 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3407, allocations: 0 / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.3408, allocations: 23.86 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.341, allocations: 156.9 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.3412, allocations: 54.61 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.3412, allocations: 16.86 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3412, allocations: 3.938 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3414, allocations: 67.38 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3414, allocations: 0 / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002811/0.3417, allocations: 97.56 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3417, allocations: 59.41 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3419, allocations: 187.2 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3419, allocations: 29.7 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.342, allocations: 100.1 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.342, allocations: 11.95 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.3421, allocations: 17.72 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3422, allocations: 322.8 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.3423, allocations: 15.98 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.3423, allocations: 33.7 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3424, allocations: 49.89 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3424, allocations: 8 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001677/0.3426, allocations: 85.47 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3426, allocations: 8 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3426, allocations: 0 / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3426, allocations: 0 / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.3427, allocations: 11.98 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3427, allocations: 4 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.3427, allocations: 0 / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3428, allocations: 4 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.3429, allocations: 125.8 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.3429, allocations: 15.92 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.3431, allocations: 98.66 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3431, allocations: 0 / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3431, allocations: 0 / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3431, allocations: 3.984 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3433, allocations: 156.6 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3433, allocations: 7.938 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.3433, allocations: 4 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3433, allocations: 3.938 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3433, allocations: 0 / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3433, allocations: 4 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3433, allocations: 0 / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.3435, allocations: 125 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.3435, allocations: 19.89 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3436, allocations: 192 / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.3436, allocations: 4 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3436, allocations: 7.984 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3437, allocations: 4 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3438, allocations: 140.9 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3438, allocations: 0 / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.344, allocations: 15.98 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001925/0.3459, allocations: 0.9724 MB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.3461, allocations: 47.92 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3461, allocations: 0 / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.3461, allocations: 19.98 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3464, allocations: 39.11 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.3482, allocations: 1.501 MB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.328e-05/0.3483, allocations: 81.33 kB / 0.5698 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.3483, allocations: 12.48 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.3484, allocations: 35.42 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3484, allocations: 0 / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.3704, allocations: 3.441 MB / 0.5732 GB, free: 7.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11, allocations: 12 kB / 0.5733 GB, free: 7.727 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.873247392009944] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.211708439979702 11.228861614 10.885232245 Calling exit ...