Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.0009701/0.0009702, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001039/0.001039, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.8 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2769/0.2769, allocations: 44.16 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.5 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003355/0.1375, allocations: 1.72 MB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.139, allocations: 0.842 MB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.1391, allocations: 3.938 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.1394, allocations: 79.83 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.1396, allocations: 71.78 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1399, allocations: 91.77 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1401, allocations: 91.69 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.1401, allocations: 8 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.1402, allocations: 47.77 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1403, allocations: 51.83 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1404, allocations: 0 / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.1404, allocations: 27.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.1405, allocations: 19.92 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.1406, allocations: 35.69 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1408, allocations: 103.9 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1408, allocations: 0 / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1408, allocations: 0 / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1408, allocations: 0 / 471.8 MB, free: 11.53 MB / 350.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.0005857/0.1414, allocations: 415 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1414, allocations: 12.03 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1415, allocations: 30.75 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.1415, allocations: 8.844 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1418, allocations: 216.5 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1418, allocations: 4.312 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1418, allocations: 7.938 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.142, allocations: 45.67 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.142, allocations: 7.938 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.142, allocations: 3.938 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.142, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.1421, allocations: 15.98 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1423, allocations: 185.7 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1424, allocations: 62.5 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.1425, allocations: 24.84 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1425, allocations: 0 / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.1427, allocations: 63.39 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1428, allocations: 0 / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002896/0.143, allocations: 93.58 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1431, allocations: 59.34 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1433, allocations: 219.5 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1433, allocations: 29.7 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.1434, allocations: 96.14 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1434, allocations: 23.73 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1435, allocations: 17.72 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1436, allocations: 322.8 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.1437, allocations: 15.98 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.1437, allocations: 25.72 kB / 473.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.1438, allocations: 49.7 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1439, allocations: 3.938 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001476/0.144, allocations: 77.53 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.144, allocations: 8 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.144, allocations: 3.984 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1441, allocations: 0 / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.1441, allocations: 8 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1442, allocations: 11.97 kB / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.1442, allocations: 3.906 kB / 473.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1442, allocations: 4 kB / 473.9 MB, free: 9.148 MB / 350.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 9.873e-05/0.1443, allocations: 129.8 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1443, allocations: 11.91 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.1444, allocations: 16.98 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1444, allocations: 0 / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1444, allocations: 0 / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1444, allocations: 0 / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1446, allocations: 201.5 kB / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1446, allocations: 0 / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.1446, allocations: 7.984 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1446, allocations: 0 / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1446, allocations: 320 / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1446, allocations: 0 / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1446, allocations: 4 kB / 474.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1448, allocations: 120.7 kB / 474.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.1449, allocations: 89.02 kB / 474.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1449, allocations: 0 / 474.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.1449, allocations: 4 kB / 474.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.145, allocations: 3.984 kB / 474.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.145, allocations: 4 kB / 474.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1452, allocations: 155.2 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1452, allocations: 0 / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1454, allocations: 16 kB / 474.7 MB, free: 8.305 MB / 350.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.001277/0.1467, allocations: 0.9523 MB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.1469, allocations: 43.97 kB / 475.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1469, allocations: 3.938 kB / 475.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.1469, allocations: 16 kB / 475.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1472, allocations: 35.52 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1488, allocations: 1.544 MB / 477.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1491, allocations: 0.7082 MB / 478 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.1492, allocations: 16.53 kB / 478 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.1492, allocations: 35.42 kB / 478 MB, free: 4.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1492, allocations: 0 / 478 MB, free: 4.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.1633, allocations: 2.933 MB / 481 MB, free: 2.133 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.1635, allocations: 237.5 kB / 481.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.067, allocations: 0 / 481.2 MB, free: 1.879 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches