Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_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.001215/0.001216, allocations: 108.9 kB / 17.33 MB, free: 5.984 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.001289/0.001289, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.478/1.478, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.254/0.254, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 72.86 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 60.81 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003918/0.1457, allocations: 1.764 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1473, allocations: 0.8536 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.1474, allocations: 0 / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.1478, allocations: 87.77 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1481, allocations: 71.78 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1484, allocations: 95.52 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1486, allocations: 107.7 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.1487, allocations: 12.22 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1489, allocations: 51.72 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.149, allocations: 63.81 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.149, allocations: 4 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1491, allocations: 39.98 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.1492, allocations: 27.91 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1492, allocations: 35.73 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1495, allocations: 123.8 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1495, allocations: 0 / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1495, allocations: 0 / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1495, allocations: 0 / 472.1 MB, free: 11.29 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.0005344/0.15, allocations: 418.9 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1501, allocations: 12.03 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.1501, allocations: 38.75 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1502, allocations: 8.844 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1504, allocations: 216.4 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1504, allocations: 384 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1504, allocations: 11.94 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1506, allocations: 53.61 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1506, allocations: 0 / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1506, allocations: 4 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1506, allocations: 4 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.1507, allocations: 19.98 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.1511, allocations: 292.9 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1513, allocations: 54.62 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.1513, allocations: 28.83 kB / 473.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1514, allocations: 4 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1515, allocations: 63.39 kB / 473.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1516, allocations: 3.938 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005463/0.1521, allocations: 181 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1522, allocations: 51.41 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1524, allocations: 215.4 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1524, allocations: 33.7 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.1525, allocations: 104.1 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1525, allocations: 27.64 kB / 474 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1526, allocations: 25.72 kB / 474 MB, free: 9.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1527, allocations: 322.8 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.1528, allocations: 19.98 kB / 474.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.1528, allocations: 41.64 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.153, allocations: 57.7 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.153, allocations: 0 / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1532, allocations: 105.5 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1532, allocations: 4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1532, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1532, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.1533, allocations: 19.98 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.044e-05/0.1534, allocations: 4.141 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1534, allocations: 7.969 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1534, allocations: 8 kB / 474.6 MB, free: 8.633 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 9.599e-05/0.1535, allocations: 129.8 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1536, allocations: 11.81 kB / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.1536, allocations: 17.59 kB / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1536, allocations: 0 / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1536, allocations: 7.922 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1536, allocations: 3.938 kB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1541, allocations: 395.3 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1541, allocations: 4 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.1541, allocations: 4.375 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1541, allocations: 7.938 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1542, allocations: 7.984 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1542, allocations: 4 kB / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1542, allocations: 4 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1544, allocations: 204.2 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.1545, allocations: 85.02 kB / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1545, allocations: 11.88 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.1546, allocations: 0 / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1546, allocations: 7.984 kB / 475.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1546, allocations: 4 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1548, allocations: 159.2 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1548, allocations: 4 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.155, allocations: 31.98 kB / 475.6 MB, free: 7.445 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.001475/0.1565, allocations: 1.088 MB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1567, allocations: 59.91 kB / 476.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1567, allocations: 0 / 476.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.1568, allocations: 31.98 kB / 476.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1572, allocations: 32.34 kB / 476.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.159, allocations: 1.706 MB / 478.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1593, allocations: 0.708 MB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.748e-05/0.1593, allocations: 8.562 kB / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.1594, allocations: 39.42 kB / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1594, allocations: 0 / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.1732, allocations: 3.33 MB / 482.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/0.1736, allocations: 238.2 kB / 482.9 MB, free: 352 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.036, allocations: 3.938 kB / 482.9 MB, free: 348 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches