Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.0008413/0.0008413, allocations: 102.6 kB / 16.02 MB, free: 72 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.0009806/0.0009806, allocations: 181.5 kB / 16.92 MB, free: 6.922 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.619/1.619, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.3786/0.3786, allocations: 43.57 MB / 315 MB, free: 8.723 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.0005362/0.0005367, allocations: 16 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 58.86 MB / 443.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002365/0.1387, allocations: 1.379 MB / 444.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1401, allocations: 0.7574 MB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.1402, allocations: 4 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1405, allocations: 55.84 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1407, allocations: 55.81 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1409, allocations: 71.84 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1411, allocations: 91.69 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.503e-05/0.1412, allocations: 15.97 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.1413, allocations: 47.72 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1414, allocations: 43.83 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1414, allocations: 0 / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.1415, allocations: 35.98 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.1416, allocations: 11.92 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.1417, allocations: 57.5 kB / 446.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1419, allocations: 99.86 kB / 446.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1419, allocations: 0 / 446.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1419, allocations: 0 / 446.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1419, allocations: 0 / 446.3 MB, free: 9.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005944/0.1425, allocations: 395.1 kB / 446.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.1426, allocations: 8.031 kB / 446.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.1426, allocations: 34.75 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.1427, allocations: 8.844 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1429, allocations: 216 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1429, allocations: 4.312 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.143, allocations: 7.938 kB / 446.9 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1431, allocations: 57.55 kB / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1431, allocations: 0 / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1432, allocations: 0 / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1432, allocations: 0 / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.1432, allocations: 15.98 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.1435, allocations: 181.7 kB / 447.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1437, allocations: 54.56 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1437, allocations: 24.84 kB / 447.3 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1438, allocations: 3.938 kB / 447.3 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.144, allocations: 59.39 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.144, allocations: 0 / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002914/0.1443, allocations: 93.58 kB / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1443, allocations: 55.39 kB / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1445, allocations: 186.2 kB / 447.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1446, allocations: 25.7 kB / 447.7 MB, free: 8.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.1446, allocations: 108.1 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.1447, allocations: 7.906 kB / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.1447, allocations: 13.72 kB / 447.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1448, allocations: 322.8 kB / 448.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.1449, allocations: 15.98 kB / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.145, allocations: 29.7 kB / 448.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.1451, allocations: 41.72 kB / 448.2 MB, free: 7.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1451, allocations: 3.938 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001524/0.1452, allocations: 85.52 kB / 448.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1453, allocations: 4 kB / 448.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1453, allocations: 160 / 448.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1453, allocations: 0 / 448.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.1454, allocations: 12 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1454, allocations: 8.016 kB / 448.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1455, allocations: 7.906 kB / 448.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1455, allocations: 320 / 448.3 MB, free: 7.547 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001141/0.1456, allocations: 137.6 kB / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1456, allocations: 11.91 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.1457, allocations: 16.3 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1457, allocations: 0 / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1457, allocations: 4 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1457, allocations: 3.938 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1459, allocations: 189.6 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1459, allocations: 0 / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.1459, allocations: 4 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1459, allocations: 7.922 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1459, allocations: 7.984 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1459, allocations: 0 / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1459, allocations: 0 / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1461, allocations: 104.9 kB / 448.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.1462, allocations: 100.9 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1462, allocations: 0 / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.1463, allocations: 4 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.1463, allocations: 7.984 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1463, allocations: 0 / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1465, allocations: 144 kB / 449 MB, free: 6.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 0 / 449 MB, free: 6.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.1467, allocations: 20 kB / 449.1 MB, free: 6.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001371/0.1481, allocations: 0.946 MB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1482, allocations: 47.86 kB / 450.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1483, allocations: 0 / 450.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.1483, allocations: 19.98 kB / 450.1 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1486, allocations: 24.05 kB / 450.1 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.15, allocations: 1.48 MB / 451.6 MB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1503, allocations: 0.7004 MB / 452.3 MB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.1504, allocations: 16.41 kB / 452.3 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.1504, allocations: 31.42 kB / 452.3 MB, free: 3.336 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1505, allocations: 0 / 452.3 MB, free: 3.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.1636, allocations: 2.656 MB / 455 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.1639, allocations: 237.7 kB / 455.2 MB, free: 432 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.011, allocations: 0 / 455.2 MB, free: 432 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches