Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",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.001594/0.001599, allocations: 186.7 kB / 16.4 MB, free: 5.625 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.27/2.27, 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.001766/0.001766, allocations: 94.88 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.4015/0.4015, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004865, allocations: 20 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002975/0.1338, allocations: 1.508 MB / 491.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1359, allocations: 0.8241 MB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1361, allocations: 3.938 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.1368, allocations: 207.5 kB / 492.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.1372, allocations: 147.6 kB / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.1379, allocations: 131.7 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.1383, allocations: 143.7 kB / 493.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1385, allocations: 17.56 kB / 493.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1387, allocations: 103.6 kB / 493.4 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1389, allocations: 103.7 kB / 493.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.139, allocations: 7.984 kB / 493.5 MB, free: 6.043 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1392, allocations: 35.86 kB / 493.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.1393, allocations: 51.83 kB / 493.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.1394, allocations: 53.58 kB / 493.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1397, allocations: 152 kB / 493.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1397, allocations: 4 kB / 493.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1397, allocations: 0 / 493.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1398, allocations: 0 / 493.8 MB, free: 5.746 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009809/0.1407, allocations: 0.5059 MB / 494.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1408, allocations: 8.031 kB / 494.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.1409, allocations: 46.48 kB / 494.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.141, allocations: 31.58 kB / 494.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.1414, allocations: 255.1 kB / 494.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1415, allocations: 12 kB / 494.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1415, allocations: 4 kB / 494.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.1418, allocations: 99.28 kB / 494.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1419, allocations: 3.938 kB / 494.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1419, allocations: 0 / 494.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1419, allocations: 7.953 kB / 494.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1421, allocations: 39.97 kB / 494.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.1429, allocations: 449 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.1433, allocations: 121.3 kB / 495.4 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.1434, allocations: 11.94 kB / 495.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.1438, allocations: 109.2 kB / 495.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.1438, allocations: 0 / 495.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001455/0.1452, allocations: 367.8 kB / 495.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.1453, allocations: 81.11 kB / 495.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.1461, allocations: 424.5 kB / 496.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.1461, allocations: 33.7 kB / 496.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.1463, allocations: 190.8 kB / 496.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.1464, allocations: 55.28 kB / 496.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.1464, allocations: 4 kB / 496.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1466, allocations: 322.8 kB / 496.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.1468, allocations: 35.98 kB / 497 MB, free: 2.332 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.147, allocations: 75.36 kB / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.1472, allocations: 51.92 kB / 497.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1473, allocations: 0 / 497.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005283/0.1478, allocations: 161.5 kB / 497.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1478, allocations: 11.5 kB / 497.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1479, allocations: 0 / 497.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1479, allocations: 4 kB / 497.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1482, allocations: 31.92 kB / 497.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1482, allocations: 4 kB / 497.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.1484, allocations: 7.938 kB / 497.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1484, allocations: 12 kB / 497.3 MB, free: 1.965 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000293/0.1487, allocations: 161.8 kB / 497.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.1488, allocations: 39.55 kB / 497.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1489, allocations: 38.62 kB / 497.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1489, allocations: 4 kB / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.149, allocations: 0 / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.149, allocations: 3.938 kB / 497.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.1502, allocations: 0.6169 MB / 498.2 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.1502, allocations: 4.062 kB / 498.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1503, allocations: 19.94 kB / 498.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1504, allocations: 0 / 498.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1504, allocations: 8.734 kB / 498.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.1504, allocations: 4 kB / 498.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1504, allocations: 80 / 498.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.1511, allocations: 408.8 kB / 498.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1513, allocations: 112.7 kB / 498.7 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.1513, allocations: 8 kB / 498.7 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.1516, allocations: 8 kB / 498.7 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.1517, allocations: 11.98 kB / 498.7 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.1517, allocations: 15.98 kB / 498.7 MB, free: 392 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004957/0.1522, allocations: 319 kB / 499.1 MB, free: 76 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1522, allocations: 0 / 499.1 MB, free: 76 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005104/0.1528, allocations: 36 kB / 499.1 MB, free: 40 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002537/0.1553, allocations: 1.504 MB / 0.4889 GB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.1559, allocations: 115.8 kB / 0.489 GB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1559, allocations: 0 / 0.489 GB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.1561, allocations: 51.92 kB / 0.489 GB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/0.1568, allocations: 57.28 kB / 0.4891 GB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.1606, allocations: 1.943 MB / 0.491 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.1611, allocations: 0.7674 MB / 0.4917 GB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.1614, allocations: 91.33 kB / 0.4918 GB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.1614, allocations: 0 / 0.4918 GB, free: 11.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/2.992, allocations: 4.46 MB / 0.4962 GB, free: 6.961 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat