Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 107.5 kB / 17.21 MB, free: 6.293 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.001416/0.001416, allocations: 194 kB / 18.12 MB, free: 5.383 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.448/1.448, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2105/0.2105, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 65.16 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1437, allocations: 60.84 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003446/0.1472, allocations: 1.749 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1494, allocations: 1.456 MB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.1495, allocations: 3.938 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1499, allocations: 39.83 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1501, allocations: 47.83 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1504, allocations: 91.77 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1506, allocations: 91.7 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1507, allocations: 16.22 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.1508, allocations: 35.8 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1509, allocations: 39.83 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.151, allocations: 0 / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.1512, allocations: 63.91 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1513, allocations: 11.94 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.1514, allocations: 31.78 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1516, allocations: 112 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1516, allocations: 4 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1516, allocations: 7.938 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1516, allocations: 0 / 472.3 MB, free: 11.03 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.0006305/0.1523, allocations: 395.2 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.1524, allocations: 12.03 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.1524, allocations: 8.844 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1527, allocations: 210.8 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1527, allocations: 4.375 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1528, allocations: 4.125 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1529, allocations: 71.39 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.153, allocations: 0 / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.153, allocations: 0 / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.153, allocations: 0 / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.292e-05/0.1531, allocations: 23.98 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.1535, allocations: 284.8 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1537, allocations: 62.67 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.1538, allocations: 20.84 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1538, allocations: 0 / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.154, allocations: 71.27 kB / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1541, allocations: 4 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005924/0.1547, allocations: 185.1 kB / 473.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.1547, allocations: 85.11 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1549, allocations: 141.8 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1549, allocations: 29.7 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.155, allocations: 96.12 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.155, allocations: 19.72 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.1551, allocations: 25.7 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1552, allocations: 326.8 kB / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.1553, allocations: 20 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.1554, allocations: 46.5 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1555, allocations: 61.64 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1555, allocations: 0 / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001828/0.1557, allocations: 101.9 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1557, allocations: 12.06 kB / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1557, allocations: 0 / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1558, allocations: 0 / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.1559, allocations: 19.94 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.1559, allocations: 0 / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1559, allocations: 15.86 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.156, allocations: 4 kB / 474.6 MB, free: 8.469 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.0001121/0.1561, allocations: 117.8 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1561, allocations: 11.91 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.1562, allocations: 16.7 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1562, allocations: 7.984 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1562, allocations: 0 / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1562, allocations: 3.938 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.1566, allocations: 383.3 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1567, allocations: 0 / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.1567, allocations: 15.98 kB / 475.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1567, allocations: 0 / 475.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1567, allocations: 15.91 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1567, allocations: 0 / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1567, allocations: 0 / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.157, allocations: 196.2 kB / 475.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.157, allocations: 92.95 kB / 475.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1571, allocations: 3.938 kB / 475.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1572, allocations: 11.98 kB / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1572, allocations: 0 / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1572, allocations: 8 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.1573, allocations: 121.5 kB / 475.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1573, allocations: 0 / 475.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1576, allocations: 27.98 kB / 475.6 MB, free: 7.348 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.001205/0.1588, allocations: 0.4922 MB / 476.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1591, allocations: 63.95 kB / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1591, allocations: 8 kB / 476.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.1591, allocations: 27.92 kB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1595, allocations: 30.8 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.1599, allocations: 208.6 kB / 476.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1602, allocations: 0.6926 MB / 477.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.1603, allocations: 29.09 kB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1603, allocations: 23.36 kB / 477.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1603, allocations: 0 / 477.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Templates: time 0.005159/0.1655, allocations: 1.88 MB / 479.1 MB, free: 4.051 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches