Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.001346/0.001346, allocations: 114.2 kB / 17.33 MB, free: 6.172 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.001325/0.001325, allocations: 193.3 kB / 18.25 MB, free: 5.254 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.417/1.417, allocations: 222.9 MB / 241.9 MB, free: 13.72 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.2263/0.2263, allocations: 44.17 MB / 336.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 72.86 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1387, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003857/0.1426, allocations: 2.061 MB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1442, allocations: 0.9471 MB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1443, allocations: 3.938 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1447, allocations: 43.81 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.145, allocations: 63.62 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1454, allocations: 126.7 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.1456, allocations: 195.4 kB / 472.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1458, allocations: 33.66 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1459, allocations: 87.58 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1461, allocations: 71.67 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1461, allocations: 12 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1462, allocations: 51.98 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.1463, allocations: 35.84 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.1464, allocations: 79.52 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1466, allocations: 187.6 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1467, allocations: 4 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1467, allocations: 0 / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1467, allocations: 0 / 472.8 MB, free: 10.62 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000904/0.1476, allocations: 0.5566 MB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1476, allocations: 8.031 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.1477, allocations: 42.75 kB / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.1478, allocations: 20.66 kB / 473.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1481, allocations: 244.8 kB / 473.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1481, allocations: 4.375 kB / 473.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1481, allocations: 15.94 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1485, allocations: 144.2 kB / 473.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1486, allocations: 7.922 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1486, allocations: 8 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1486, allocations: 0 / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.149, allocations: 111.9 kB / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.1497, allocations: 0.5476 MB / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.1503, allocations: 162.6 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.1506, allocations: 76.73 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1506, allocations: 4 kB / 474.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.151, allocations: 139.2 kB / 474.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.151, allocations: 0 / 474.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008266/0.1519, allocations: 253.2 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1519, allocations: 59.41 kB / 475.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1521, allocations: 231.1 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1522, allocations: 29.7 kB / 475.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.1523, allocations: 128.2 kB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1523, allocations: 35.67 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.1524, allocations: 41.7 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.1525, allocations: 330.8 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.1527, allocations: 71.88 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.153, allocations: 102.7 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.1535, allocations: 193.8 kB / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1535, allocations: 0 / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006484/0.1542, allocations: 255 kB / 476.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.1542, allocations: 33.7 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1542, allocations: 0 / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1542, allocations: 7.938 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1544, allocations: 35.91 kB / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1544, allocations: 0 / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1546, allocations: 39.94 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.1547, allocations: 4 kB / 476.7 MB, free: 6.418 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001139/0.1548, allocations: 134.3 kB / 476.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.1548, allocations: 15.81 kB / 476.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.1549, allocations: 25.39 kB / 476.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1549, allocations: 3.938 kB / 476.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1549, allocations: 0 / 476.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1549, allocations: 0 / 476.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1551, allocations: 237.4 kB / 477.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1551, allocations: 4 kB / 477.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1553, allocations: 23.92 kB / 477.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1553, allocations: 4 kB / 477.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1553, allocations: 11.98 kB / 477.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1553, allocations: 3.938 kB / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1553, allocations: 0 / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.1562, allocations: 303.4 kB / 477.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1562, allocations: 88.95 kB / 477.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.1563, allocations: 4 kB / 477.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1565, allocations: 23.91 kB / 477.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.1565, allocations: 28.02 kB / 477.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1566, allocations: 4 kB / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1567, allocations: 168.6 kB / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1567, allocations: 0 / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.157, allocations: 39.91 kB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001893/0.1589, allocations: 1.139 MB / 478.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006235/0.1595, allocations: 231.1 kB / 479.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1595, allocations: 0 / 479.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.1598, allocations: 75.94 kB / 479.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1602, allocations: 50.06 kB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.1633, allocations: 2.184 MB / 481.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1636, allocations: 0.728 MB / 482.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1637, allocations: 21.53 kB / 482.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.1638, allocations: 59.41 kB / 482.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1638, allocations: 0 / 482.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.1802, allocations: 4.669 MB / 486.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.1806, allocations: 249.6 kB / 487.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.13, allocations: 0 / 487.2 MB, free: 11.91 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches