Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.0007795/0.0007796, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 175.4 kB / 16.58 MB, free: 6.844 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.409/1.409, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3125/0.3125, allocations: 43.55 MB / 314.6 MB, free: 8.781 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.000708/0.0007081, allocations: 20 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1148, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002454/0.1173, allocations: 1.531 MB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1189, allocations: 0.8357 MB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.119, allocations: 4 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.1195, allocations: 243.5 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.1199, allocations: 159.5 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.1203, allocations: 131.8 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.1206, allocations: 207.3 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1207, allocations: 25.53 kB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.1209, allocations: 115.6 kB / 446.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1211, allocations: 147.6 kB / 446.3 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1212, allocations: 4 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1213, allocations: 35.94 kB / 446.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.1214, allocations: 63.8 kB / 446.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.1214, allocations: 53.58 kB / 446.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1216, allocations: 167.9 kB / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1216, allocations: 0 / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1217, allocations: 0 / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1217, allocations: 0 / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006419/0.1223, allocations: 0.5291 MB / 447.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1224, allocations: 8.031 kB / 447.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.1224, allocations: 34.56 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.1225, allocations: 35.61 kB / 447.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1228, allocations: 267 kB / 447.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1228, allocations: 4 kB / 447.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1229, allocations: 4 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1231, allocations: 107.2 kB / 447.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1231, allocations: 3.984 kB / 447.6 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1231, allocations: 11.95 kB / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-06/0.1231, allocations: 3.938 kB / 447.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1232, allocations: 39.91 kB / 447.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.1238, allocations: 449 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.124, allocations: 117.3 kB / 448.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.1241, allocations: 41.66 kB / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1241, allocations: 4 kB / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.1244, allocations: 117 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.1244, allocations: 0 / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008095/0.1252, allocations: 371.7 kB / 448.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1253, allocations: 85.05 kB / 448.8 MB, free: 6.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.1258, allocations: 485.6 kB / 449.2 MB, free: 6.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1258, allocations: 29.7 kB / 449.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.1259, allocations: 156.4 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.126, allocations: 47.36 kB / 449.5 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.126, allocations: 4 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1261, allocations: 346.8 kB / 449.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.1262, allocations: 39.94 kB / 449.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1263, allocations: 75.41 kB / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1264, allocations: 51.97 kB / 450 MB, free: 5.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1264, allocations: 0 / 450 MB, free: 5.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002921/0.1267, allocations: 181.2 kB / 450.2 MB, free: 5.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1267, allocations: 4 kB / 450.2 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1268, allocations: 4 kB / 450.2 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1268, allocations: 4.062 kB / 450.2 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1269, allocations: 31.98 kB / 450.2 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1269, allocations: 3.938 kB / 450.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.127, allocations: 11.94 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.127, allocations: 11.94 kB / 450.2 MB, free: 5.293 MB / 382.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.1272, allocations: 173.7 kB / 450.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.1272, allocations: 31.62 kB / 450.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.1273, allocations: 38.81 kB / 450.5 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1273, allocations: 8 kB / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1273, allocations: 0 / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1273, allocations: 0 / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.128, allocations: 0.6284 MB / 451.1 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.128, allocations: 0 / 451.1 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.128, allocations: 20.73 kB / 451.1 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.128, allocations: 8 kB / 451.1 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1281, allocations: 8 kB / 451.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.1281, allocations: 8.062 kB / 451.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.1281, allocations: 7.938 kB / 451.2 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1284, allocations: 360.1 kB / 451.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1285, allocations: 112.7 kB / 451.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.1285, allocations: 7.984 kB / 451.6 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1287, allocations: 8 kB / 451.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1288, allocations: 19.88 kB / 451.7 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1288, allocations: 4 kB / 451.7 MB, free: 3.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003468/0.1291, allocations: 367.1 kB / 452 MB, free: 3.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1292, allocations: 0 / 452 MB, free: 3.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.1295, allocations: 40 kB / 452.1 MB, free: 3.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/0.1311, allocations: 1.261 MB / 453.3 MB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1314, allocations: 115.9 kB / 453.4 MB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1314, allocations: 0 / 453.4 MB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1315, allocations: 68.03 kB / 453.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.132, allocations: 53.34 kB / 453.5 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1343, allocations: 1.612 MB / 455.2 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1753/0.3096, allocations: 0.7662 MB / 455.9 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.3098, allocations: 34.3 kB / 456 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.31, allocations: 87 kB / 456 MB, free: 45.6 MB / 382.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3101, allocations: 0 / 456 MB, free: 45.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.3262, allocations: 5.381 MB / 461.4 MB, free: 45.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.3264, allocations: 217.2 kB / 461.6 MB, free: 45.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.071, allocations: 0.875 kB / 461.6 MB, free: 45.01 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat