Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.0007961/0.000796, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009176/0.0009176, allocations: 173.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.384/1.384, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.2993/0.2993, allocations: 43.54 MB / 314.6 MB, free: 8.766 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.0005256/0.0005258, allocations: 18.97 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002296/0.1113, allocations: 1.488 MB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1129, allocations: 0.8085 MB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.113, allocations: 0 / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.1137, allocations: 283.4 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.1141, allocations: 191.5 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.1145, allocations: 127.8 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.1149, allocations: 207.4 kB / 446 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.115, allocations: 17.53 kB / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.1152, allocations: 111.6 kB / 446.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.1155, allocations: 155.5 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.1155, allocations: 4 kB / 446.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1157, allocations: 35.98 kB / 446.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1158, allocations: 135.5 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.1159, allocations: 73.52 kB / 446.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.1163, allocations: 271.8 kB / 446.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1163, allocations: 0 / 446.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1163, allocations: 11.88 kB / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1164, allocations: 0 / 446.8 MB, free: 9.031 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009649/0.1173, allocations: 0.6648 MB / 447.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1174, allocations: 8.031 kB / 447.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.1174, allocations: 42.55 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.1175, allocations: 43.44 kB / 447.5 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.1181, allocations: 415 kB / 447.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1182, allocations: 7.938 kB / 447.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1182, allocations: 15.92 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1184, allocations: 79.38 kB / 448 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1184, allocations: 0 / 448 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1185, allocations: 3.953 kB / 448 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1185, allocations: 0 / 448 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1186, allocations: 31.97 kB / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1191, allocations: 374.3 kB / 448.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1193, allocations: 101.2 kB / 448.5 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.1194, allocations: 37.7 kB / 448.6 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1194, allocations: 7.984 kB / 448.6 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.1197, allocations: 109 kB / 448.7 MB, free: 6.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1197, allocations: 0 / 448.7 MB, free: 6.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004769/0.1202, allocations: 201 kB / 448.9 MB, free: 6.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.1203, allocations: 81.11 kB / 449 MB, free: 6.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1213, allocations: 1.007 MB / 450 MB, free: 5.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1214, allocations: 29.7 kB / 450 MB, free: 5.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1215, allocations: 228.1 kB / 450.2 MB, free: 5.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.1216, allocations: 31.64 kB / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-06/0.1216, allocations: 0 / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1218, allocations: 366.8 kB / 450.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.1219, allocations: 27.98 kB / 450.6 MB, free: 4.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.122, allocations: 59.36 kB / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.735e-05/0.1221, allocations: 31.98 kB / 450.7 MB, free: 4.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1221, allocations: 0 / 450.7 MB, free: 4.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002982/0.1224, allocations: 165.7 kB / 450.9 MB, free: 4.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1224, allocations: 4 kB / 450.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.1224, allocations: 12.06 kB / 450.9 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1224, allocations: 0 / 450.9 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1226, allocations: 31.83 kB / 450.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1226, allocations: 3.984 kB / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.243e-05/0.1227, allocations: 7.906 kB / 450.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1227, allocations: 8 kB / 451 MB, free: 4.566 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.1229, allocations: 225.6 kB / 451.2 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.123, allocations: 51.33 kB / 451.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.1231, allocations: 63.84 kB / 451.3 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1231, allocations: 3.938 kB / 451.3 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1231, allocations: 7.891 kB / 451.3 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1231, allocations: 0 / 451.3 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.1234, allocations: 341.4 kB / 451.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1234, allocations: 0 / 451.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.1235, allocations: 7.984 kB / 451.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1235, allocations: 4 kB / 451.6 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1235, allocations: 0 / 451.6 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1235, allocations: 0 / 451.6 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1235, allocations: 4 kB / 451.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.1239, allocations: 205.3 kB / 451.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.124, allocations: 140.4 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.1241, allocations: 4 kB / 452 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.1242, allocations: 7.984 kB / 452 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1242, allocations: 7.984 kB / 452 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1243, allocations: 12 kB / 452 MB, free: 3.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007975/0.1251, allocations: 0.7526 MB / 452.8 MB, free: 2.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1251, allocations: 0 / 452.8 MB, free: 2.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1254, allocations: 40 kB / 452.8 MB, free: 2.613 MB / 382.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 (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.001453/0.1268, allocations: 1.044 MB / 453.8 MB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1271, allocations: 79.84 kB / 453.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1271, allocations: 0 / 453.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1272, allocations: 43.97 kB / 454 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1276, allocations: 62.27 kB / 454 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1728/0.3003, allocations: 2.833 MB / 456.9 MB, free: 45.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3006, allocations: 0.845 MB / 457.7 MB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.3008, allocations: 54.34 kB / 457.8 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.301, allocations: 140.8 kB / 457.9 MB, free: 45.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.301, allocations: 0 / 457.9 MB, free: 45.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.3265, allocations: 7.887 MB / 465.8 MB, free: 44.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.3267, allocations: 225.4 kB / 466 MB, free: 44.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.112, allocations: 0 / 466 MB, free: 44.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat