Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001225/0.001225, allocations: 107.6 kB / 17.32 MB, free: 5.672 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.001208/0.001208, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.455/1.455, allocations: 222.9 MB / 241.9 MB, free: 13.7 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.2512/0.2512, allocations: 44.17 MB / 336.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 60.72 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004012/0.1312, allocations: 1.753 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1327, allocations: 0.8575 MB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.1328, allocations: 4 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.1332, allocations: 35.89 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.1335, allocations: 47.83 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.1339, allocations: 91.77 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1341, allocations: 99.69 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1343, allocations: 12.22 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1345, allocations: 43.78 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1346, allocations: 35.84 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1346, allocations: 4 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1348, allocations: 43.92 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.1349, allocations: 19.92 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.135, allocations: 35.73 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.1352, allocations: 111.9 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1353, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1353, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1353, allocations: 0 / 472 MB, free: 11.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007662/0.1361, allocations: 415 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1361, allocations: 8.031 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.1362, allocations: 34.75 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.1363, allocations: 16.69 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1365, allocations: 204.1 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1366, allocations: 8.375 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1366, allocations: 3.938 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1368, allocations: 53.67 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1368, allocations: 3.938 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1368, allocations: 4 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1369, allocations: 4 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.1369, allocations: 15.98 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.1374, allocations: 288.8 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1376, allocations: 54.67 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.1377, allocations: 32.78 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1377, allocations: 0 / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.138, allocations: 67.33 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.138, allocations: 0 / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005658/0.1385, allocations: 177.5 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.1386, allocations: 59.39 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1388, allocations: 190.1 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1388, allocations: 25.7 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1389, allocations: 108.1 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.1389, allocations: 23.7 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.139, allocations: 21.72 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1391, allocations: 322.8 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.1392, allocations: 23.98 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.1393, allocations: 33.7 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1394, allocations: 65.72 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1394, allocations: 0 / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1396, allocations: 105.5 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1396, allocations: 4 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1396, allocations: 4 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1396, allocations: 0 / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.1397, allocations: 15.94 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1397, allocations: 8.016 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1398, allocations: 7.938 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1398, allocations: 4 kB / 474.4 MB, free: 8.777 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 (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 0.0001041/0.1399, allocations: 124.9 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.14, allocations: 11.89 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.14, allocations: 12.72 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.14, allocations: 4 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.14, allocations: 0 / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.14, allocations: 7.922 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1405, allocations: 387.5 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1405, allocations: 4 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.1406, allocations: 15.92 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1406, allocations: 3.938 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1406, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1406, allocations: 3.938 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1406, allocations: 7.938 kB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1409, allocations: 208.2 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.1409, allocations: 81.02 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.141, allocations: 11.92 kB / 475.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.141, allocations: 4 kB / 475.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1411, allocations: 4 kB / 475.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1411, allocations: 7.984 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1413, allocations: 143.2 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1413, allocations: 0 / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1415, allocations: 31.98 kB / 475.4 MB, free: 7.617 MB / 350.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.001558/0.1431, allocations: 1.1 MB / 476.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1433, allocations: 55.91 kB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1433, allocations: 0 / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1434, allocations: 35.92 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1438, allocations: 34.91 kB / 476.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1454, allocations: 1.653 MB / 478.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1457, allocations: 0.7002 MB / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.1458, allocations: 17.17 kB / 479 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.1458, allocations: 35.42 kB / 479.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1458, allocations: 0 / 479.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.1597, allocations: 3.204 MB / 482.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.1599, allocations: 232.7 kB / 482.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.055, allocations: 0 / 482.5 MB, free: 0.6797 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches