Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 96.42 kB / 17 MB, free: 6.109 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.001252/0.001252, allocations: 181.5 kB / 17.89 MB, free: 5.688 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.444/1.444, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 14.22 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002175/0.1266, allocations: 1.359 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1278, allocations: 0.7765 MB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.1279, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1282, allocations: 67.73 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1283, allocations: 51.81 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1286, allocations: 90.83 kB / 474 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1287, allocations: 83.69 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1288, allocations: 8 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.1289, allocations: 39.84 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.129, allocations: 39.83 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.129, allocations: 0 / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-05/0.1291, allocations: 31.92 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.1291, allocations: 7.984 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1292, allocations: 37.64 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1293, allocations: 80.11 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1293, allocations: 3.938 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1293, allocations: 4 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1294, allocations: 0 / 474.3 MB, free: 11 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.0005417/0.1299, allocations: 386.9 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.13, allocations: 15.95 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.13, allocations: 7.906 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1302, allocations: 195 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1303, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1303, allocations: 4 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1304, allocations: 53.62 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1304, allocations: 0 / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1304, allocations: 0 / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1305, allocations: 0 / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.1305, allocations: 19.92 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.1308, allocations: 185.5 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1309, allocations: 54.61 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.131, allocations: 20.86 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.131, allocations: 4 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1312, allocations: 67.33 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1312, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002528/0.1315, allocations: 97.5 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1315, allocations: 55.41 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1317, allocations: 190.1 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1317, allocations: 25.7 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.1318, allocations: 100.1 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1318, allocations: 15.81 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1318, allocations: 0 / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.132, allocations: 322.8 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.132, allocations: 11.98 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1321, allocations: 41.7 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.789e-05/0.1322, allocations: 15.94 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1322, allocations: 0 / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001372/0.1324, allocations: 73.59 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1324, allocations: 11.95 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1324, allocations: 320 / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1324, allocations: 0 / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.1325, allocations: 15.92 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1325, allocations: 8 kB / 476.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.1325, allocations: 11.97 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1326, allocations: 4 kB / 476.3 MB, free: 8.801 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1327, allocations: 126.3 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1327, allocations: 7.906 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.1327, allocations: 20.2 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1327, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1328, allocations: 4 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1328, allocations: 3.984 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1329, allocations: 181.5 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1329, allocations: 4 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.1329, allocations: 4 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1329, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.133, allocations: 4 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.133, allocations: 3.953 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.133, allocations: 0 / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1332, allocations: 109 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.1332, allocations: 96.94 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1333, allocations: 0 / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.1333, allocations: 4 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.1333, allocations: 3.953 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1334, allocations: 11.98 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1335, allocations: 135.2 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1335, allocations: 0 / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1337, allocations: 19.98 kB / 477 MB, free: 7.977 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009975/0.1347, allocations: 419.5 kB / 477.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1349, allocations: 39.92 kB / 477.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1349, allocations: 0 / 477.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.1349, allocations: 16 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1352, allocations: 27.97 kB / 477.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.1356, allocations: 209.1 kB / 477.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.136, allocations: 0.6965 MB / 478.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.136, allocations: 12.55 kB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.1361, allocations: 19.42 kB / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1361, allocations: 4 kB / 478.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of Templates: time 0.004318/0.1404, allocations: 1.376 MB / 479.8 MB, free: 5.281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches