Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.001693/0.001693, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002293/0.002293, allocations: 218.2 kB / 23 MB, free: 5.609 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.457/1.457, allocations: 230.2 MB / 256.2 MB, free: 8.688 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2703/0.2703, allocations: 46.9 MB / 359.4 MB, free: 4.922 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 83.86 kB / 0.4942 GB, free: 8.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3577, allocations: 65.99 MB / 0.5586 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003646/0.3613, allocations: 1.838 MB / 0.5604 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3635, allocations: 1.115 MB / 0.5615 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3636, allocations: 0 / 0.5615 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.3641, allocations: 307.3 kB / 0.5618 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.3647, allocations: 263.2 kB / 0.5621 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.365, allocations: 103.6 kB / 0.5622 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000415/0.3654, allocations: 271.2 kB / 0.5624 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.3655, allocations: 5.688 kB / 0.5624 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.3657, allocations: 135.6 kB / 0.5626 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.366, allocations: 223.4 kB / 0.5628 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.366, allocations: 4 kB / 0.5628 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3661, allocations: 51.97 kB / 0.5628 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3662, allocations: 135.6 kB / 0.563 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3664, allocations: 146.8 kB / 0.5631 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.3668, allocations: 387.9 kB / 0.5635 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3668, allocations: 0 / 0.5635 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3668, allocations: 0 / 0.5635 GB, free: 124 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3669, allocations: 4 kB / 0.5635 GB, free: 120 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001045/0.3679, allocations: 0.7579 MB / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3679, allocations: 8.031 kB / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.853e-05/0.368, allocations: 34.75 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.3681, allocations: 48.61 kB / 0.5643 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.3688, allocations: 468.2 kB / 0.5647 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3688, allocations: 8.375 kB / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3688, allocations: 8.375 kB / 0.5648 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.3691, allocations: 91.48 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3691, allocations: 0 / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3691, allocations: 3.984 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3691, allocations: 0 / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.3692, allocations: 31.92 kB / 0.5649 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.3697, allocations: 386.3 kB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.37, allocations: 101.2 kB / 0.5653 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.3701, allocations: 37.64 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3701, allocations: 8 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.3703, allocations: 105 kB / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.3703, allocations: 0 / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005062/0.3708, allocations: 201.2 kB / 0.5657 GB, free: 13.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3709, allocations: 81.11 kB / 0.5658 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3722, allocations: 1.058 MB / 0.5668 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3722, allocations: 29.69 kB / 0.5668 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.3724, allocations: 236.1 kB / 0.567 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.3724, allocations: 35.72 kB / 0.5671 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.3725, allocations: 29.7 kB / 0.5671 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.3728, allocations: 370.8 kB / 0.5675 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3729, allocations: 31.98 kB / 0.5675 GB, free: 11.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3731, allocations: 55.41 kB / 0.5675 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3733, allocations: 91.86 kB / 0.5676 GB, free: 11.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3733, allocations: 0 / 0.5676 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003288/0.3737, allocations: 177.2 kB / 0.5678 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3737, allocations: 7.984 kB / 0.5678 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3737, allocations: 0 / 0.5678 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3737, allocations: 4 kB / 0.5678 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3738, allocations: 23.94 kB / 0.5678 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-05/0.3739, allocations: 7.984 kB / 0.5678 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.599e-05/0.374, allocations: 7.938 kB / 0.5678 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.374, allocations: 4 kB / 0.5679 GB, free: 11.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002494/0.3742, allocations: 226.6 kB / 0.5681 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.3743, allocations: 67.5 kB / 0.5681 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.3747, allocations: 193.7 kB / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3747, allocations: 0 / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3747, allocations: 0 / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3747, allocations: 4 kB / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.3751, allocations: 341.7 kB / 0.5686 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.3751, allocations: 15.92 kB / 0.5687 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.3752, allocations: 11.94 kB / 0.5687 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3752, allocations: 0 / 0.5687 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3752, allocations: 12 kB / 0.5687 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3752, allocations: 3.938 kB / 0.5687 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3752, allocations: 0 / 0.5687 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.3756, allocations: 209.6 kB / 0.5689 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.3757, allocations: 148.6 kB / 0.569 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.3757, allocations: 0 / 0.569 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.3758, allocations: 8 kB / 0.569 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.3759, allocations: 11.98 kB / 0.569 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.3759, allocations: 15.88 kB / 0.5691 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008977/0.3768, allocations: 0.7878 MB / 0.5698 GB, free: 9.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3768, allocations: 0 / 0.5698 GB, free: 9.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3771, allocations: 40 kB / 0.5699 GB, free: 9.145 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002075/0.3791, allocations: 1.059 MB / 0.5709 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.3794, allocations: 83.78 kB / 0.571 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3794, allocations: 0 / 0.571 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3795, allocations: 35.98 kB / 0.571 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.38, allocations: 77.02 kB / 0.5711 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.3861, allocations: 4.586 MB / 0.5756 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.3866, allocations: 0.8508 MB / 0.5764 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3868, allocations: 63.42 kB / 0.5765 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.387, allocations: 155.4 kB / 0.5766 GB, free: 2.242 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.387, allocations: 0 / 0.5766 GB, free: 2.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.4225, allocations: 9.205 MB / 0.5856 GB, free: 9.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/9.054, allocations: 0 / 0.5856 GB, free: 9.059 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.951571668003453] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.184287948010024 9.212122092 8.840198842 Calling exit ...