Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001406/0.001406, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001677/0.001677, allocations: 216.5 kB / 22.92 MB, free: 5.527 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.293/1.293, allocations: 230.2 MB / 256.2 MB, free: 8.762 MB / 206.1 MB " [Timeout remaining time 179] 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.1982/0.1982, allocations: 46.9 MB / 359.3 MB, free: 5.07 MB / 286.1 MB " [Timeout remaining time 180] 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",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.002142/0.002142, allocations: 87.86 kB / 0.4941 GB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2586, allocations: 65.98 MB / 0.5585 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002941/0.2616, allocations: 1.763 MB / 0.5602 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2632, allocations: 1.045 MB / 0.5613 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.2633, allocations: 0 / 0.5613 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.2636, allocations: 87.69 kB / 0.5613 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.2639, allocations: 115.5 kB / 0.5615 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.2641, allocations: 83.66 kB / 0.5615 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.2642, allocations: 123.7 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.2643, allocations: 17.8 kB / 0.5617 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2644, allocations: 59.7 kB / 0.5617 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2645, allocations: 59.81 kB / 0.5618 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2645, allocations: 8 kB / 0.5618 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.2647, allocations: 63.84 kB / 0.5618 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.2647, allocations: 23.92 kB / 0.5619 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.2648, allocations: 39.73 kB / 0.5619 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.265, allocations: 139.4 kB / 0.562 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.265, allocations: 0 / 0.562 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.265, allocations: 4 kB / 0.562 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.265, allocations: 0 / 0.562 GB, free: 1.543 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005437/0.2655, allocations: 454.4 kB / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2656, allocations: 8.031 kB / 0.5625 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.2656, allocations: 38.73 kB / 0.5625 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2656, allocations: 12.84 kB / 0.5625 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.2659, allocations: 220.1 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2659, allocations: 4.375 kB / 0.5627 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.2659, allocations: 7.938 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2661, allocations: 61.67 kB / 0.5628 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2661, allocations: 4 kB / 0.5628 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.2661, allocations: 0 / 0.5628 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2661, allocations: 0 / 0.5628 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.2662, allocations: 23.92 kB / 0.5628 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.2665, allocations: 304.8 kB / 0.5631 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.2668, allocations: 58.56 kB / 0.5632 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.2668, allocations: 20.97 kB / 0.5632 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2668, allocations: 7.938 kB / 0.5632 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.267, allocations: 71.45 kB / 0.5633 GB, free: 100 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.267, allocations: 0 / 0.5633 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000733/0.2677, allocations: 245.2 kB / 0.5635 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.2678, allocations: 55.34 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.268, allocations: 228.2 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.268, allocations: 29.7 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.2681, allocations: 108.1 kB / 0.5639 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.2681, allocations: 31.73 kB / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.2681, allocations: 25.72 kB / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2683, allocations: 326.8 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.2683, allocations: 31.98 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.2684, allocations: 49.02 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2686, allocations: 77.7 kB / 0.5644 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2686, allocations: 0 / 0.5644 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002143/0.2688, allocations: 133.5 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2688, allocations: 8 kB / 0.5646 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2688, allocations: 7.969 kB / 0.5646 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2688, allocations: 0 / 0.5646 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.2689, allocations: 27.92 kB / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2689, allocations: 0 / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.2689, allocations: 0 / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.2689, allocations: 4 kB / 0.5646 GB, free: 14.66 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 (13): * Single equations (assignments): 13 * 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.0001042/0.2691, allocations: 133.8 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2691, allocations: 15.91 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.2694, allocations: 151.2 kB / 0.5649 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2694, allocations: 11.86 kB / 0.5649 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2694, allocations: 4 kB / 0.5649 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2694, allocations: 0 / 0.5649 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.2699, allocations: 456 kB / 0.5653 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2699, allocations: 4 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.2699, allocations: 12 kB / 0.5654 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2699, allocations: 7.938 kB / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2699, allocations: 8.062 kB / 0.5654 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2699, allocations: 7.984 kB / 0.5654 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2699, allocations: 0 / 0.5654 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2702, allocations: 225.1 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.2702, allocations: 89.02 kB / 0.5657 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2703, allocations: 11.98 kB / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.2703, allocations: 4 kB / 0.5657 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.2704, allocations: 15.92 kB / 0.5657 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2704, allocations: 4 kB / 0.5657 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.2705, allocations: 169.1 kB / 0.5659 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2705, allocations: 0 / 0.5659 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.2708, allocations: 31.92 kB / 0.5659 GB, free: 13.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002136/0.2729, allocations: 1.177 MB / 0.5671 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.2731, allocations: 75.91 kB / 0.5671 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2731, allocations: 0 / 0.5671 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.2732, allocations: 39.98 kB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2735, allocations: 35.3 kB / 0.5672 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.2754, allocations: 1.811 MB / 0.569 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2757, allocations: 0.7197 MB / 0.5697 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.2757, allocations: 20.81 kB / 0.5697 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.2758, allocations: 39.42 kB / 0.5697 GB, free: 9.324 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2758, allocations: 3.938 kB / 0.5697 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.3002, allocations: 3.911 MB / 0.5736 GB, free: 5.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.573, allocations: 2.875 kB / 0.5736 GB, free: 5.438 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.09278283599997]