Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.004721/0.004721, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001029/0.001029, allocations: 196.2 kB / 16.79 MB, free: 6.238 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.476/1.476, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3617/0.3617, allocations: 43.5 MB / 313.5 MB, free: 8.297 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.001369/0.001369, allocations: 70.56 kB / 382.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 57.78 MB / 439.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003655/0.1351, allocations: 1.964 MB / 441.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1365, allocations: 0.8196 MB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.1366, allocations: 3.938 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1369, allocations: 39.83 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1371, allocations: 47.77 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1374, allocations: 95.83 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1376, allocations: 127.6 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1377, allocations: 41.67 kB / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.564e-05/0.1378, allocations: 55.72 kB / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.1379, allocations: 39.78 kB / 443.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1379, allocations: 7.938 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1381, allocations: 47.97 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.1381, allocations: 23.86 kB / 443.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.1382, allocations: 47.67 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1384, allocations: 135.6 kB / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1385, allocations: 7.938 kB / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1385, allocations: 0 / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1385, allocations: 0 / 443.4 MB, free: 10.95 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006965/0.1392, allocations: 484.4 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1392, allocations: 8.031 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.1393, allocations: 38.75 kB / 443.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1393, allocations: 16.75 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1396, allocations: 224.8 kB / 444.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1396, allocations: 4.375 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1397, allocations: 11.94 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1399, allocations: 108.2 kB / 444.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1399, allocations: 0 / 444.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1399, allocations: 4 kB / 444.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.14, allocations: 8 kB / 444.3 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1401, allocations: 43.91 kB / 444.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.1407, allocations: 0.5125 MB / 444.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.141, allocations: 90.58 kB / 444.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1411, allocations: 40.84 kB / 445 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1412, allocations: 3.984 kB / 445 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.1414, allocations: 87.38 kB / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1414, allocations: 0 / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000382/0.1418, allocations: 141.4 kB / 445.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.1418, allocations: 59.34 kB / 445.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.142, allocations: 191.4 kB / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.142, allocations: 29.7 kB / 445.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.1421, allocations: 112 kB / 445.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1422, allocations: 35.64 kB / 445.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1422, allocations: 25.72 kB / 445.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1423, allocations: 327.2 kB / 446 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.1424, allocations: 27.98 kB / 446 MB, free: 8.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.1425, allocations: 60.28 kB / 446.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1427, allocations: 100.1 kB / 446.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1427, allocations: 0 / 446.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002592/0.143, allocations: 141.4 kB / 446.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.143, allocations: 8 kB / 446.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.143, allocations: 0 / 446.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.143, allocations: 7.938 kB / 446.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.1431, allocations: 23.92 kB / 446.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.1432, allocations: 4 kB / 446.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.1432, allocations: 11.89 kB / 446.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1432, allocations: 8 kB / 446.4 MB, free: 7.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1434, allocations: 129.9 kB / 446.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1434, allocations: 23.75 kB / 446.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.1434, allocations: 17.39 kB / 446.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1435, allocations: 3.938 kB / 446.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1435, allocations: 0 / 446.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1435, allocations: 0 / 446.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1436, allocations: 213.5 kB / 446.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1436, allocations: 0 / 446.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.1437, allocations: 15.98 kB / 446.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1437, allocations: 0 / 446.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1438, allocations: 4 kB / 446.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.1438, allocations: 7.938 kB / 446.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1438, allocations: 0 / 446.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.1441, allocations: 180.9 kB / 446.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1442, allocations: 89.03 kB / 447 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1442, allocations: 7.984 kB / 447 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.1443, allocations: 12 kB / 447.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1443, allocations: 7.984 kB / 447.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1443, allocations: 0 / 447.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1445, allocations: 145.2 kB / 447.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1445, allocations: 0 / 447.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1447, allocations: 32.03 kB / 447.2 MB, free: 6.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.1461, allocations: 1.034 MB / 448.3 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1464, allocations: 71.91 kB / 448.3 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1464, allocations: 4 kB / 448.3 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.1465, allocations: 39.91 kB / 448.4 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1468, allocations: 40.11 kB / 448.4 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1486, allocations: 1.766 MB / 450.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1489, allocations: 0.7122 MB / 450.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.149, allocations: 25.36 kB / 450.9 MB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.149, allocations: 47.3 kB / 451 MB, free: 2.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.149, allocations: 0 / 451 MB, free: 2.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2227/0.3718, allocations: 3.457 MB / 454.4 MB, free: 47.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.372, allocations: 235.3 kB / 454.7 MB, free: 47.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.076, allocations: 3.125 kB / 454.7 MB, free: 47.74 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches