Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 96.38 kB / 16.27 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 191.2 kB / 17.19 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2248/0.2248, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 69.36 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 57.8 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00304/0.1189, allocations: 1.786 MB / 442.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1202, allocations: 0.8701 MB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.1202, allocations: 0 / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.1206, allocations: 311.3 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.1209, allocations: 207.4 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1212, allocations: 151.2 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1214, allocations: 239.4 kB / 444.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.1215, allocations: 9.844 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1216, allocations: 127.5 kB / 444.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1218, allocations: 195.5 kB / 444.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1218, allocations: 8 kB / 444.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.1219, allocations: 39.98 kB / 444.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.122, allocations: 131.6 kB / 444.7 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.1221, allocations: 154.8 kB / 444.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1223, allocations: 358.6 kB / 445.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1223, allocations: 4 kB / 445.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1223, allocations: 0 / 445.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1223, allocations: 0 / 445.2 MB, free: 2.242 MB / 318.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.0006641/0.123, allocations: 0.7268 MB / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.123, allocations: 11.89 kB / 445.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.234e-05/0.1231, allocations: 38.75 kB / 446 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1231, allocations: 44.38 kB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.1235, allocations: 447.8 kB / 446.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1235, allocations: 4.375 kB / 446.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.1236, allocations: 15.88 kB / 446.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1237, allocations: 87.34 kB / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1237, allocations: 0 / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1237, allocations: 0 / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-06/0.1237, allocations: 0 / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.1238, allocations: 39.84 kB / 446.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.1241, allocations: 378.4 kB / 447 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1244, allocations: 105.2 kB / 447.1 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.1244, allocations: 41.64 kB / 447.1 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.1245, allocations: 4 kB / 447.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1247, allocations: 105.1 kB / 447.2 MB, free: 16 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1247, allocations: 0 / 447.2 MB, free: 16 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004754/0.1252, allocations: 201.4 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.1252, allocations: 81.11 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009955/0.1263, allocations: 1.042 MB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1263, allocations: 25.7 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1265, allocations: 236.1 kB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1265, allocations: 23.7 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.1265, allocations: 29.66 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.1268, allocations: 370.8 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.1268, allocations: 27.98 kB / 449.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/0.1269, allocations: 55.41 kB / 449.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1271, allocations: 87.36 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1271, allocations: 3.938 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002761/0.1274, allocations: 173 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1274, allocations: 4 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1274, allocations: 0 / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1275, allocations: 4 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1276, allocations: 27.92 kB / 449.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1276, allocations: 4 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.1277, allocations: 11.84 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1277, allocations: 4 kB / 449.6 MB, free: 13.54 MB / 334.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.0002016/0.1279, allocations: 233.7 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.128, allocations: 43.44 kB / 449.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/0.128, allocations: 60 kB / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.128, allocations: 0 / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1281, allocations: 8.062 kB / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.1281, allocations: 7.984 kB / 449.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.1284, allocations: 345.3 kB / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1284, allocations: 0 / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1284, allocations: 15.92 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1284, allocations: 3.938 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1284, allocations: 4 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1285, allocations: 4 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1285, allocations: 0 / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1288, allocations: 201.3 kB / 450.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1289, allocations: 136.4 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.129, allocations: 7.984 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.129, allocations: 8 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1291, allocations: 11.98 kB / 450.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1291, allocations: 4 kB / 450.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008336/0.1299, allocations: 0.7721 MB / 451.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.13, allocations: 0 / 451.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1302, allocations: 44 kB / 451.5 MB, free: 11.55 MB / 334.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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00145/0.1317, allocations: 1.059 MB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.132, allocations: 87.84 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.132, allocations: 0 / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1321, allocations: 35.98 kB / 452.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1325, allocations: 68.42 kB / 452.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.1379, allocations: 4.638 MB / 457.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.1383, allocations: 0.8427 MB / 458.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1385, allocations: 63.44 kB / 458.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.1386, allocations: 147.4 kB / 458.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1386, allocations: 0 / 458.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.1685, allocations: 8.77 MB / 467.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.771, allocations: 0 / 467.2 MB, free: 11.73 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)