Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001258/0.001258, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001387/0.001387, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.38/1.38, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2113/0.2113, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 79.88 kB / 0.4971 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3289, allocations: 66.08 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003792/0.3327, allocations: 2.306 MB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.3352, allocations: 1.34 MB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.3354, allocations: 7.938 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.3358, allocations: 147.2 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005165/0.3363, allocations: 254.9 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.3367, allocations: 199.6 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.3372, allocations: 466.5 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3373, allocations: 47.06 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/0.3378, allocations: 354.9 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.338, allocations: 167.1 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.338, allocations: 20 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3382, allocations: 75.95 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3383, allocations: 159.3 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.3385, allocations: 210.3 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.3391, allocations: 485.4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3391, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3391, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3391, allocations: 4 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00115/0.3402, allocations: 0.834 MB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3403, allocations: 12.03 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.3403, allocations: 4.188 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.3403, allocations: 50.67 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3404, allocations: 72.47 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.341, allocations: 385.6 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3411, allocations: 8.375 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.3411, allocations: 20.33 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.3415, allocations: 196.9 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3415, allocations: 0 / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3415, allocations: 8 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3415, allocations: 8 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.3418, allocations: 95.86 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.3427, allocations: 0.789 MB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.3433, allocations: 234.5 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3435, allocations: 87.52 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3435, allocations: 8 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.3439, allocations: 196.2 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.373e-06/0.3439, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002506/0.3464, allocations: 1.199 MB / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.3465, allocations: 144.4 kB / 0.5718 GB, free: 9.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3476, allocations: 0.9614 MB / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.3476, allocations: 37.7 kB / 0.5728 GB, free: 8.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.3478, allocations: 261 kB / 0.5731 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3479, allocations: 154.8 kB / 0.5732 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3481, allocations: 82.09 kB / 0.5733 GB, free: 7.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3482, allocations: 329.9 kB / 0.5736 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.3484, allocations: 112.8 kB / 0.5737 GB, free: 7.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.3487, allocations: 187.1 kB / 0.5739 GB, free: 7.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.3493, allocations: 319 kB / 0.5742 GB, free: 6.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3493, allocations: 0 / 0.5742 GB, free: 6.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007758/0.3501, allocations: 448.9 kB / 0.5746 GB, free: 6.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3501, allocations: 10.19 kB / 0.5746 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3501, allocations: 3.938 kB / 0.5746 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3501, allocations: 4 kB / 0.5746 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.3504, allocations: 87.89 kB / 0.5747 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.3504, allocations: 4 kB / 0.5747 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.3506, allocations: 19.94 kB / 0.5747 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3506, allocations: 23.98 kB / 0.5748 GB, free: 6.375 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003054/0.3509, allocations: 265.4 kB / 0.575 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.351, allocations: 79.48 kB / 0.5751 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009759/0.352, allocations: 0.4999 MB / 0.5756 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.352, allocations: 4 kB / 0.5756 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.352, allocations: 4 kB / 0.5756 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.352, allocations: 3.938 kB / 0.5756 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.3538, allocations: 1.302 MB / 0.5769 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3538, allocations: 4.031 kB / 0.5769 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3539, allocations: 63.91 kB / 0.5769 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3539, allocations: 4 kB / 0.5769 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.354, allocations: 15.98 kB / 0.577 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.354, allocations: 8 kB / 0.577 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.354, allocations: 3.938 kB / 0.577 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.355, allocations: 0.8055 MB / 0.5777 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.3551, allocations: 115.4 kB / 0.5779 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.3552, allocations: 16 kB / 0.5779 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.3555, allocations: 15.98 kB / 0.5779 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.3556, allocations: 43.88 kB / 0.5779 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.3556, allocations: 23.92 kB / 0.578 GB, free: 2.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000764/0.3564, allocations: 0.7021 MB / 0.5786 GB, free: 2.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3564, allocations: 0 / 0.5786 GB, free: 2.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.3569, allocations: 95.86 kB / 0.5787 GB, free: 2.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003023/0.3599, allocations: 1.759 MB / 0.5804 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006211/0.3605, allocations: 295.5 kB / 0.5807 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3605, allocations: 0 / 0.5807 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.3608, allocations: 152.4 kB / 0.5809 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.3618, allocations: 122.1 kB / 0.581 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006534/0.3683, allocations: 5.138 MB / 0.586 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.3689, allocations: 0.9133 MB / 0.5869 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.3691, allocations: 83.27 kB / 0.587 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.3694, allocations: 207.4 kB / 0.5872 GB, free: 9.438 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3694, allocations: 0 / 0.5872 GB, free: 9.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.403, allocations: 11.94 MB / 0.5988 GB, free: 13.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.83, allocations: 16.98 kB / 0.5989 GB, free: 13.54 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.64456035301555] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 12.042652075004298 12.057123124 11.715110808 Calling exit ...