Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.0008622/0.0008621, allocations: 96.7 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.0008447/0.0008448, allocations: 170.1 kB / 16.57 MB, free: 6.395 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.476/1.476, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.3426/0.3426, allocations: 43.54 MB / 314.6 MB, free: 8.633 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.0005362/0.0005366, allocations: 24 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001957/0.116, allocations: 1.527 MB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1172, allocations: 0.828 MB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.1173, allocations: 3.938 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.1177, allocations: 215.5 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.118, allocations: 151.5 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1184, allocations: 127.8 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1187, allocations: 191.4 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1188, allocations: 17.55 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.119, allocations: 103.6 kB / 446 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1192, allocations: 127.5 kB / 446.2 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1192, allocations: 4 kB / 446.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1193, allocations: 35.98 kB / 446.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.1194, allocations: 47.83 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.1195, allocations: 61.52 kB / 446.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1197, allocations: 159.9 kB / 446.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1197, allocations: 0 / 446.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1197, allocations: 0 / 446.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1197, allocations: 0 / 446.5 MB, free: 9.367 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.0006501/0.1204, allocations: 0.5097 MB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1204, allocations: 8.031 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.1205, allocations: 38.56 kB / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.1205, allocations: 27.62 kB / 447 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.1208, allocations: 275 kB / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1209, allocations: 0 / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1209, allocations: 4 kB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1211, allocations: 99.36 kB / 447.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1211, allocations: 0 / 447.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1211, allocations: 7.953 kB / 447.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1211, allocations: 4 kB / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1213, allocations: 39.91 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.1219, allocations: 437.1 kB / 447.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1221, allocations: 121.2 kB / 448 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1223, allocations: 49.64 kB / 448.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1223, allocations: 8 kB / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1226, allocations: 112.9 kB / 448.2 MB, free: 7.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.1226, allocations: 0 / 448.2 MB, free: 7.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009765/0.1236, allocations: 367.9 kB / 448.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.1236, allocations: 81.11 kB / 448.6 MB, free: 6.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.1242, allocations: 436.4 kB / 449 MB, free: 6.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1242, allocations: 29.7 kB / 449.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1243, allocations: 152.4 kB / 449.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.1244, allocations: 51.28 kB / 449.3 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.1244, allocations: 8 kB / 449.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1245, allocations: 338.8 kB / 449.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1247, allocations: 43.92 kB / 449.6 MB, free: 5.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1248, allocations: 75.41 kB / 449.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1249, allocations: 48.14 kB / 449.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1249, allocations: 0 / 449.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003208/0.1252, allocations: 177.2 kB / 449.9 MB, free: 5.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1253, allocations: 4 kB / 449.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1253, allocations: 4.062 kB / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1253, allocations: 4 kB / 450 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1254, allocations: 27.98 kB / 450 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1255, allocations: 7.938 kB / 450 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-05/0.1256, allocations: 15.89 kB / 450 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1256, allocations: 4 kB / 450 MB, free: 5.539 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.00017/0.1258, allocations: 169.8 kB / 450.2 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.1258, allocations: 23.72 kB / 450.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.1259, allocations: 38.62 kB / 450.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1259, allocations: 0 / 450.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1259, allocations: 4 kB / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1259, allocations: 0 / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/0.1267, allocations: 0.6241 MB / 450.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1267, allocations: 0 / 450.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.1267, allocations: 27.98 kB / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1268, allocations: 0 / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1268, allocations: 8 kB / 450.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1268, allocations: 0 / 450.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1268, allocations: 7.953 kB / 450.9 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.1272, allocations: 364.1 kB / 451.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.1273, allocations: 101.6 kB / 451.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.1273, allocations: 4 kB / 451.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1274, allocations: 15.92 kB / 451.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.1275, allocations: 19.88 kB / 451.4 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1275, allocations: 11.94 kB / 451.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.1278, allocations: 319 kB / 451.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1278, allocations: 0 / 451.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000342/0.1282, allocations: 44 kB / 451.8 MB, free: 3.664 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.001787/0.13, allocations: 1.262 MB / 453 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1303, allocations: 111.9 kB / 453.1 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1303, allocations: 4 kB / 453.1 MB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1304, allocations: 56.05 kB / 453.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.131, allocations: 53 kB / 453.2 MB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1331, allocations: 1.504 MB / 454.8 MB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1984/0.3315, allocations: 0.7598 MB / 455.5 MB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.3318, allocations: 33.36 kB / 455.5 MB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3319, allocations: 81.3 kB / 455.6 MB, free: 45.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3319, allocations: 0 / 455.6 MB, free: 45.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.3468, allocations: 5.155 MB / 460.8 MB, free: 45.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.3469, allocations: 225.3 kB / 461 MB, free: 45.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.036, allocations: 0 / 461 MB, free: 45.19 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat