Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001574/0.001574, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.399/1.399, allocations: 222.9 MB / 243 MB, free: 15.17 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.2471/0.2471, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.12 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1111, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003031/0.1141, allocations: 1.571 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.1149, allocations: 411.2 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.1149, allocations: 0 / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.1152, allocations: 111.7 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1154, allocations: 79.72 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1157, allocations: 90.88 kB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1159, allocations: 83.77 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.116, allocations: 20.16 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.881e-05/0.1161, allocations: 39.84 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1162, allocations: 59.88 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1162, allocations: 0 / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.1163, allocations: 43.97 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.1164, allocations: 27.86 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.1164, allocations: 35.73 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1166, allocations: 115.6 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1166, allocations: 0 / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1166, allocations: 0 / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1166, allocations: 0 / 473.4 MB, free: 10.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000501/0.1171, allocations: 418.9 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1172, allocations: 8.031 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1172, allocations: 12.75 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1174, allocations: 204.1 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1174, allocations: 12.38 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1175, allocations: 384 / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1176, allocations: 61.56 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1177, allocations: 0 / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1177, allocations: 3.984 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1177, allocations: 0 / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.1178, allocations: 23.98 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1182, allocations: 300.7 kB / 474.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1183, allocations: 42.5 kB / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.1184, allocations: 24.88 kB / 474.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1184, allocations: 0 / 474.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1184, allocations: 30.56 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1184, allocations: 0 / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008352/0.1193, allocations: 233 kB / 474.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1193, allocations: 51.41 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1195, allocations: 243.4 kB / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1196, allocations: 25.7 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.1196, allocations: 112.1 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.1197, allocations: 31.55 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1197, allocations: 17.72 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1198, allocations: 326.8 kB / 475.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.1199, allocations: 27.92 kB / 475.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.12, allocations: 23.97 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1201, allocations: 60.84 kB / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1201, allocations: 0 / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001852/0.1203, allocations: 105.5 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1203, allocations: 4 kB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1204, allocations: 432 / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1204, allocations: 0 / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.1205, allocations: 23.92 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1205, allocations: 3.938 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.1205, allocations: 12 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1205, allocations: 0 / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.903e-05/0.1206, allocations: 129.8 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1207, allocations: 11.81 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.1209, allocations: 123.3 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.121, allocations: 4 kB / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.121, allocations: 3.938 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.121, allocations: 0 / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.1215, allocations: 415.2 kB / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1215, allocations: 0 / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.1215, allocations: 27.92 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1216, allocations: 0 / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1216, allocations: 0 / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1216, allocations: 4 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1216, allocations: 3.938 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1218, allocations: 204.2 kB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.1219, allocations: 92.86 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1219, allocations: 7.984 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.122, allocations: 4 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.122, allocations: 7.984 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.122, allocations: 7.938 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1222, allocations: 187.5 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1222, allocations: 0 / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1224, allocations: 23.98 kB / 477 MB, free: 7.023 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009409/0.1234, allocations: 456.9 kB / 477.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1236, allocations: 59.91 kB / 477.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1236, allocations: 0 / 477.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.1237, allocations: 39.97 kB / 477.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.124, allocations: 15.94 kB / 477.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.1244, allocations: 290.8 kB / 477.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1248, allocations: 0.708 MB / 478.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.1248, allocations: 12.97 kB / 478.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.1249, allocations: 15.44 kB / 478.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1249, allocations: 4 kB / 478.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Templates: time 0.003668/0.1285, allocations: 1.331 MB / 479.9 MB, free: 4.234 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches