Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.0008052/0.0008053, allocations: 97.11 kB / 17 MB, free: 6.418 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.0007776/0.0007779, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.458/1.458, allocations: 223.2 MB / 241.9 MB, free: 232 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.2154/0.2154, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002236/0.1337, allocations: 1.398 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1356, allocations: 1.371 MB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.1356, allocations: 0 / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.136, allocations: 35.84 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1362, allocations: 47.77 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1365, allocations: 98.62 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1367, allocations: 79.77 kB / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1368, allocations: 16.22 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.1369, allocations: 35.8 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.137, allocations: 35.83 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1371, allocations: 4 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1372, allocations: 51.91 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.1372, allocations: 11.98 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.1373, allocations: 37.64 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1375, allocations: 88.09 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-05/0.1375, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1375, allocations: 3.984 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1375, allocations: 4 kB / 475 MB, free: 10.3 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.0005717/0.1381, allocations: 391 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1382, allocations: 8.031 kB / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.1382, allocations: 38.5 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1382, allocations: 7.906 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1385, allocations: 197.2 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1385, allocations: 3.953 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1385, allocations: 4 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1387, allocations: 79.39 kB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1387, allocations: 7.891 kB / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1387, allocations: 0 / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1387, allocations: 0 / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.1388, allocations: 23.92 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1392, allocations: 284.9 kB / 476 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1394, allocations: 54.67 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.1394, allocations: 20.84 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1395, allocations: 4 kB / 476.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1396, allocations: 67.33 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1397, allocations: 0 / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005155/0.1402, allocations: 177.2 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.1403, allocations: 77.11 kB / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1404, allocations: 149.8 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1404, allocations: 29.7 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1405, allocations: 96.12 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1405, allocations: 23.66 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.1406, allocations: 0 / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1407, allocations: 326.8 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.1407, allocations: 27.92 kB / 477 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.1408, allocations: 42.56 kB / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.1409, allocations: 20 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1409, allocations: 3.938 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.141, allocations: 101.6 kB / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1411, allocations: 8 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1411, allocations: 4.062 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1411, allocations: 0 / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.1412, allocations: 15.94 kB / 477.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1412, allocations: 3.984 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.1413, allocations: 11.86 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1413, allocations: 4.156 kB / 477.2 MB, free: 7.789 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 8.853e-05/0.1414, allocations: 118.4 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.1414, allocations: 11.91 kB / 477.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.1414, allocations: 20.69 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1414, allocations: 4 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1414, allocations: 0 / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1415, allocations: 0 / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.1419, allocations: 387.3 kB / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1419, allocations: 0 / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1419, allocations: 16.36 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1419, allocations: 0 / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.142, allocations: 8 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.142, allocations: 4.031 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.142, allocations: 3.953 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1422, allocations: 196.2 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.1422, allocations: 93 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1423, allocations: 0 / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.1423, allocations: 8 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1424, allocations: 15.94 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1424, allocations: 0 / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.1425, allocations: 122.2 kB / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1425, allocations: 0 / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1428, allocations: 28 kB / 478.2 MB, free: 6.668 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.001514/0.1443, allocations: 1.145 MB / 479.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1445, allocations: 55.91 kB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1445, allocations: 4 kB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.1446, allocations: 24 kB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1449, allocations: 31.86 kB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.146, allocations: 0.6196 MB / 480.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1463, allocations: 0.7014 MB / 480.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.1464, allocations: 16.83 kB / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.1465, allocations: 35.41 kB / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1465, allocations: 0 / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.1603, allocations: 3.064 MB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.1605, allocations: 221.6 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.056, allocations: 4 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat