Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001276/0.001276, allocations: 107.1 kB / 16.27 MB, free: 6.051 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.001153/0.001153, allocations: 187.8 kB / 17.19 MB, free: 5.688 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.654/1.654, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2255/0.2255, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.002278/0.002279, allocations: 72.14 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1362, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002868/0.1391, allocations: 1.686 MB / 442.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1402, allocations: 0.8 MB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.1403, allocations: 7.938 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1406, allocations: 79.75 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1408, allocations: 75.67 kB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.141, allocations: 83.75 kB / 443.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1412, allocations: 107.7 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.1413, allocations: 12.17 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.1414, allocations: 55.77 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.1415, allocations: 59.81 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1415, allocations: 4 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.1416, allocations: 39.98 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1416, allocations: 23.86 kB / 443.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.1417, allocations: 43.72 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1419, allocations: 107.7 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1419, allocations: 3.938 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1419, allocations: 0 / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1419, allocations: 0 / 443.8 MB, free: 3.621 MB / 318.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.0004523/0.1424, allocations: 422.9 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1424, allocations: 11.89 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.1424, allocations: 38.75 kB / 444.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.1425, allocations: 12.75 kB / 444.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1427, allocations: 208 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1427, allocations: 4.375 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1427, allocations: 7.938 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1428, allocations: 53.67 kB / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1429, allocations: 4 kB / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1429, allocations: 0 / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1429, allocations: 0 / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.872e-05/0.143, allocations: 19.98 kB / 444.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.1433, allocations: 304.7 kB / 444.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1434, allocations: 62.67 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.1435, allocations: 16.86 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1435, allocations: 3.984 kB / 445 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.1437, allocations: 63.39 kB / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.1437, allocations: 11.88 kB / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005628/0.1443, allocations: 165.2 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1443, allocations: 59.39 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1445, allocations: 215.5 kB / 445.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1445, allocations: 33.7 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.453e-05/0.1445, allocations: 104.1 kB / 445.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1445, allocations: 23.66 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1446, allocations: 25.7 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.1446, allocations: 322.8 kB / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.1447, allocations: 19.98 kB / 446 MB, free: 1.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.1447, allocations: 37.72 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.1449, allocations: 57.7 kB / 446.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1449, allocations: 3.938 kB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001523/0.145, allocations: 109.5 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.145, allocations: 4 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.145, allocations: 0 / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1451, allocations: 4 kB / 446.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.1451, allocations: 19.97 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1452, allocations: 0 / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1452, allocations: 15.92 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1452, allocations: 0 / 446.2 MB, free: 0.9609 MB / 318.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 (10): * Single equations (assignments): 10 * 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 6.917e-05/0.1453, allocations: 129.3 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1453, allocations: 19.8 kB / 446.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.1454, allocations: 17.41 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1454, allocations: 3.984 kB / 446.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1454, allocations: 4 kB / 446.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1454, allocations: 3.938 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.1457, allocations: 399.3 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1457, allocations: 0 / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.1458, allocations: 8.375 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1458, allocations: 3.938 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1458, allocations: 4 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1458, allocations: 4 kB / 446.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1458, allocations: 4.031 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.146, allocations: 200.2 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.146, allocations: 92.91 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1461, allocations: 4.125 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1461, allocations: 7.938 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.1462, allocations: 11.92 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1462, allocations: 8 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1463, allocations: 155.2 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1463, allocations: 0 / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1466, allocations: 24 kB / 447.3 MB, free: 15.77 MB / 334.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 (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.001415/0.148, allocations: 1.092 MB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1482, allocations: 63.89 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1482, allocations: 4 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.1483, allocations: 32.16 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1487, allocations: 30.14 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1504, allocations: 1.698 MB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1507, allocations: 0.7083 MB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.1508, allocations: 12.55 kB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.1509, allocations: 39.42 kB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1509, allocations: 0 / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1747, allocations: 3.414 MB / 454.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.691, allocations: 11.81 kB / 454.4 MB, free: 8.602 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches