Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002606/0.002612, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001185, allocations: 98.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2963/0.2963, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006527, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1284, allocations: 58.85 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002697/0.1311, allocations: 1.461 MB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1332, allocations: 0.8006 MB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1334, allocations: 8 kB / 492.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.1341, allocations: 287.4 kB / 492.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.1346, allocations: 191.5 kB / 493.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.1352, allocations: 131.7 kB / 493.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.1356, allocations: 159.7 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.702e-05/0.1357, allocations: 9.562 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.1359, allocations: 115.6 kB / 493.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.1362, allocations: 143.6 kB / 493.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.1363, allocations: 8 kB / 493.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1365, allocations: 27.98 kB / 493.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1367, allocations: 135.6 kB / 493.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1368, allocations: 73.45 kB / 493.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.1373, allocations: 275.8 kB / 494.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1373, allocations: 0 / 494.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1373, allocations: 0 / 494.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1373, allocations: 0 / 494.1 MB, free: 5.43 MB / 330.7 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.00127/0.1386, allocations: 0.6726 MB / 494.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1387, allocations: 12.03 kB / 494.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1387, allocations: 30.56 kB / 494.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.1388, allocations: 55.38 kB / 494.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/0.1397, allocations: 427 kB / 495.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.1398, allocations: 8 kB / 495.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1398, allocations: 3.984 kB / 495.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.1401, allocations: 87.3 kB / 495.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1401, allocations: 4 kB / 495.4 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1402, allocations: 4 kB / 495.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1402, allocations: 0 / 495.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1404, allocations: 35.92 kB / 495.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.1409, allocations: 370.4 kB / 495.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.1414, allocations: 109.2 kB / 495.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1415, allocations: 4 kB / 495.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.1418, allocations: 109.1 kB / 496 MB, free: 3.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.1419, allocations: 0 / 496 MB, free: 3.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000777/0.1426, allocations: 204.9 kB / 496.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1427, allocations: 77.11 kB / 496.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.1447, allocations: 1.042 MB / 497.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.1448, allocations: 29.7 kB / 497.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.145, allocations: 242.6 kB / 497.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.648e-05/0.1451, allocations: 31.64 kB / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.1451, allocations: 0 / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1453, allocations: 322.8 kB / 497.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1455, allocations: 27.98 kB / 498 MB, free: 1.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.1456, allocations: 55.42 kB / 498 MB, free: 1.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1458, allocations: 35.92 kB / 498.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1458, allocations: 0 / 498.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004429/0.1463, allocations: 129.5 kB / 498.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1463, allocations: 7.438 kB / 498.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1463, allocations: 0 / 498.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1464, allocations: 4 kB / 498.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.1466, allocations: 23.92 kB / 498.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1466, allocations: 4 kB / 498.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1468, allocations: 11.94 kB / 498.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1469, allocations: 11.94 kB / 498.2 MB, free: 1.023 MB / 330.7 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.0003656/0.1472, allocations: 233.6 kB / 498.5 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1473, allocations: 47.34 kB / 498.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.1475, allocations: 64 kB / 498.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1475, allocations: 0 / 498.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1475, allocations: 4 kB / 498.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1475, allocations: 0 / 498.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.148, allocations: 342 kB / 498.9 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.148, allocations: 0 / 498.9 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.1481, allocations: 11.94 kB / 498.9 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.1481, allocations: 4 kB / 498.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1481, allocations: 8 kB / 498.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1481, allocations: 0 / 498.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1482, allocations: 4 kB / 499 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.1487, allocations: 210.9 kB / 499.2 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.149, allocations: 144.4 kB / 499.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.1491, allocations: 3.984 kB / 499.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1492, allocations: 16 kB / 499.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.1493, allocations: 7.984 kB / 499.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.1494, allocations: 4.094 kB / 499.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.1507, allocations: 0.7759 MB / 0.4884 GB, free: 15.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1507, allocations: 0 / 0.4884 GB, free: 15.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.1511, allocations: 40 kB / 0.4884 GB, free: 15.02 MB / 346.7 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.002115/0.1533, allocations: 1.131 MB / 0.4895 GB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00042/0.1537, allocations: 83.83 kB / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1538, allocations: 0 / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.1539, allocations: 44.05 kB / 0.4896 GB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.1546, allocations: 61.52 kB / 0.4897 GB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/0.1612, allocations: 3.306 MB / 0.4929 GB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.1619, allocations: 0.8507 MB / 0.4938 GB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.1623, allocations: 151.4 kB / 0.4939 GB, free: 9.316 MB / 346.7 MB Notification: Performance of SimCode: time 1.674e-06/0.1623, allocations: 3.938 kB / 0.4939 GB, free: 9.312 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.193/3.355, allocations: 7.773 MB / 0.5015 GB, free: 1.523 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat