Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.001451/0.001452, allocations: 95.34 kB / 15.68 MB, free: 488 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.001794/0.001795, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.682/1.682, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.376/0.376, allocations: 43.55 MB / 314.5 MB, free: 9.051 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.0007217/0.0007217, allocations: 20 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1358, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002052/0.1379, allocations: 1.392 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1391, allocations: 0.7266 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.1392, allocations: 8 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1394, allocations: 31.83 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1396, allocations: 39.89 kB / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1399, allocations: 79.77 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.14, allocations: 55.88 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.1401, allocations: 12.2 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.1402, allocations: 35.84 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.1403, allocations: 35.84 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1403, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.1404, allocations: 31.92 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.1404, allocations: 19.92 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.1405, allocations: 37.64 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1406, allocations: 80.09 kB / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1407, allocations: 0 / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1407, allocations: 0 / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1407, allocations: 0 / 445.4 MB, free: 10.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005269/0.1412, allocations: 406.8 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1412, allocations: 12.03 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.1413, allocations: 38.55 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1413, allocations: 7.906 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1416, allocations: 206.8 kB / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1416, allocations: 0 / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1417, allocations: 7.984 kB / 446.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1418, allocations: 53.67 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1418, allocations: 0 / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1418, allocations: 3.953 kB / 446.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1418, allocations: 7.938 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.1419, allocations: 23.98 kB / 446.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.1423, allocations: 284.8 kB / 446.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1424, allocations: 50.69 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1425, allocations: 0 / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.1426, allocations: 83.45 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1427, allocations: 0 / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004951/0.1432, allocations: 169.2 kB / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1432, allocations: 51.41 kB / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1434, allocations: 182.2 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1434, allocations: 29.7 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1435, allocations: 112.1 kB / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1435, allocations: 19.72 kB / 447.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.1435, allocations: 0 / 447.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1436, allocations: 326.8 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.1437, allocations: 15.98 kB / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.1438, allocations: 33.7 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.63e-05/0.1438, allocations: 23.98 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1438, allocations: 8 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001813/0.144, allocations: 113.5 kB / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.144, allocations: 4 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.144, allocations: 0 / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1441, allocations: 4 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.1442, allocations: 15.98 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1442, allocations: 0 / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.1442, allocations: 4 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1442, allocations: 4 kB / 447.7 MB, free: 8.113 MB / 382.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 0.0001016/0.1443, allocations: 133.8 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.1444, allocations: 19.75 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.1444, allocations: 12.72 kB / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1444, allocations: 7.984 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1444, allocations: 0 / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1444, allocations: 0 / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1449, allocations: 391.3 kB / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1449, allocations: 4.031 kB / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1449, allocations: 11.98 kB / 448.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1449, allocations: 4.188 kB / 448.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1449, allocations: 0 / 448.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1449, allocations: 3.938 kB / 448.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.145, allocations: 0 / 448.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1452, allocations: 217.9 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1453, allocations: 96.91 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1453, allocations: 4 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1454, allocations: 0 / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1454, allocations: 7.984 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1454, allocations: 8.375 kB / 448.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1456, allocations: 144 kB / 448.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1456, allocations: 0 / 448.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1458, allocations: 20 kB / 448.7 MB, free: 6.941 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: 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.001459/0.1473, allocations: 1.184 MB / 449.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.1475, allocations: 55.97 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1475, allocations: 4 kB / 450 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.1476, allocations: 36.06 kB / 450 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.1478, allocations: 19.98 kB / 450 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.149, allocations: 0.8433 MB / 450.9 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1493, allocations: 0.7043 MB / 451.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.1493, allocations: 8.891 kB / 451.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.1494, allocations: 35.42 kB / 451.6 MB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1494, allocations: 7.938 kB / 451.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.1641, allocations: 2.911 MB / 454.6 MB, free: 1.059 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003232/0.1645, allocations: 212.4 kB / 454.8 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.966, allocations: 0 / 454.8 MB, free: 0.8203 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat