Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.0008297/0.0008294, allocations: 93.62 kB / 17 MB, free: 6.125 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.0008634/0.0008633, allocations: 183 kB / 17.89 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 15.09 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002359/0.134, allocations: 1.386 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1355, allocations: 0.8036 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.1356, allocations: 0 / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1359, allocations: 43.81 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.1361, allocations: 43.83 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1364, allocations: 87.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1366, allocations: 87.67 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.1367, allocations: 12.23 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.1368, allocations: 39.78 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.1368, allocations: 19.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1369, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.137, allocations: 43.97 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.137, allocations: 15.92 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1371, allocations: 37.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1372, allocations: 88.09 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1372, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1372, allocations: 4 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1372, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005464/0.1378, allocations: 402.8 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1378, allocations: 8.031 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.1379, allocations: 34.56 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.1379, allocations: 7.906 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1381, allocations: 211.5 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1382, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.1382, allocations: 7.953 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1383, allocations: 53.67 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.1384, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1384, allocations: 7.938 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1384, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.1385, allocations: 19.98 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.1388, allocations: 296.9 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.139, allocations: 58.61 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.1391, allocations: 16.86 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1391, allocations: 0 / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1393, allocations: 75.3 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1393, allocations: 0 / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.1398, allocations: 177.1 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1398, allocations: 51.41 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.14, allocations: 195.3 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.1401, allocations: 37.69 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1402, allocations: 100.1 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1402, allocations: 23.7 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1402, allocations: 0 / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1404, allocations: 334.8 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.1405, allocations: 15.98 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.1405, allocations: 41.64 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.1406, allocations: 24 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1406, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.1408, allocations: 97.52 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1408, allocations: 12.03 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1408, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1408, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.1409, allocations: 15.98 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1409, allocations: 4 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.141, allocations: 4 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.141, allocations: 4 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.966e-05/0.1411, allocations: 134.2 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.1411, allocations: 19.8 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1412, allocations: 25.39 kB / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1412, allocations: 0 / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1412, allocations: 4 kB / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1412, allocations: 0 / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.1417, allocations: 387.3 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1417, allocations: 192 / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.1418, allocations: 12 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1418, allocations: 7.938 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1419, allocations: 8.391 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1419, allocations: 0 / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.1419, allocations: 8 kB / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1422, allocations: 204.3 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1423, allocations: 89.02 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1423, allocations: 7.984 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.1424, allocations: 4 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.1425, allocations: 8 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1425, allocations: 7.984 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1426, allocations: 152.9 kB / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1426, allocations: 0 / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1429, allocations: 20 kB / 477.7 MB, free: 7.164 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001407/0.1443, allocations: 1.098 MB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1445, allocations: 59.95 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1445, allocations: 0 / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.1445, allocations: 35.92 kB / 478.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1449, allocations: 19.98 kB / 479 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1461, allocations: 0.7274 MB / 479.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1464, allocations: 0.7043 MB / 480.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.1464, allocations: 21.17 kB / 480.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.1465, allocations: 39.36 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1465, allocations: 0 / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1597, allocations: 2.98 MB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.16, allocations: 213.9 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/1.975, allocations: 0 / 483.6 MB, free: 1.461 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat