Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_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.001231/0.001231, allocations: 96.28 kB / 15.69 MB, free: 480 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.00178/0.001781, allocations: 179.2 kB / 16.57 MB, free: 6.848 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.803/1.803, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3811/0.3811, allocations: 43.54 MB / 314.5 MB, free: 9.039 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.0005269/0.0005271, allocations: 12 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1332, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001961/0.1352, allocations: 1.384 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1369, allocations: 1.305 MB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.137, allocations: 4 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1373, allocations: 27.89 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1375, allocations: 51.8 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1377, allocations: 75.8 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1378, allocations: 59.86 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.1379, allocations: 16.14 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.138, allocations: 35.84 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1381, allocations: 31.84 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1382, allocations: 4 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.521e-05/0.1383, allocations: 39.92 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.1383, allocations: 11.92 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1383, allocations: 41.64 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1385, allocations: 92.08 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1385, allocations: 0 / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1385, allocations: 0 / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1385, allocations: 0 / 446 MB, free: 10 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.0004966/0.139, allocations: 398.9 kB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.1391, allocations: 8.031 kB / 446.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.1392, allocations: 34.56 kB / 446.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1392, allocations: 11.89 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1394, allocations: 198.9 kB / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1395, allocations: 4 kB / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1395, allocations: 3.984 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1396, allocations: 79.28 kB / 446.8 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1397, allocations: 0 / 446.8 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1397, allocations: 4 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1397, allocations: 0 / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.759e-05/0.1398, allocations: 19.98 kB / 446.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1401, allocations: 281 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1403, allocations: 54.58 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1403, allocations: 7.984 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1405, allocations: 67.52 kB / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1405, allocations: 0 / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004921/0.141, allocations: 173.2 kB / 447.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.141, allocations: 81.09 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1412, allocations: 150.1 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1412, allocations: 25.7 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.1413, allocations: 100.1 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.1413, allocations: 27.64 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.1413, allocations: 0 / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1414, allocations: 330.8 kB / 448 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.1415, allocations: 23.92 kB / 448.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.265e-05/0.1416, allocations: 46.5 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.1416, allocations: 20 kB / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1416, allocations: 0 / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001663/0.1418, allocations: 109.5 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1418, allocations: 4 kB / 448.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1418, allocations: 0 / 448.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1418, allocations: 4 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.1419, allocations: 12 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1419, allocations: 0 / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.142, allocations: 7.984 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.142, allocations: 4 kB / 448.3 MB, free: 7.512 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 9.546e-05/0.1421, allocations: 129.7 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1421, allocations: 15.92 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.1422, allocations: 16.7 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1422, allocations: 4 kB / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1422, allocations: 0 / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1422, allocations: 0 / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.1426, allocations: 391.4 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1426, allocations: 0 / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.1427, allocations: 11.98 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1427, allocations: 4.031 kB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1427, allocations: 4 kB / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1427, allocations: 4.375 kB / 448.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1427, allocations: 0 / 448.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.143, allocations: 213.9 kB / 449 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.143, allocations: 89 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.143, allocations: 11.94 kB / 449.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.1431, allocations: 8 kB / 449.2 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1432, allocations: 3.984 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1432, allocations: 4 kB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.785e-05/0.1433, allocations: 119.2 kB / 449.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1433, allocations: 0 / 449.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1436, allocations: 32 kB / 449.3 MB, free: 6.363 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.001502/0.1451, allocations: 1.215 MB / 450.5 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1452, allocations: 51.97 kB / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1453, allocations: 0 / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.1453, allocations: 39.91 kB / 450.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1456, allocations: 32.05 kB / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1466, allocations: 0.7666 MB / 451.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1469, allocations: 0.7004 MB / 452.1 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.147, allocations: 16.86 kB / 452.1 MB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.1471, allocations: 35.42 kB / 452.2 MB, free: 3.426 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1471, allocations: 4 kB / 452.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.1618, allocations: 3.046 MB / 455.2 MB, free: 384 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.1621, allocations: 217 kB / 455.4 MB, free: 136 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.009, allocations: 0 / 455.4 MB, free: 136 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat