Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009769, allocations: 98.28 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3325/0.3325, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001223, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003594/0.116, allocations: 1.633 MB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1174, allocations: 0.9181 MB / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.1175, allocations: 0 / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1177, allocations: 15.92 kB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1179, allocations: 43.84 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1182, allocations: 63.86 kB / 489.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1184, allocations: 67.77 kB / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1186, allocations: 20.44 kB / 489.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.1186, allocations: 19.92 kB / 489.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1188, allocations: 31.84 kB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1189, allocations: 8 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.119, allocations: 43.98 kB / 489.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.1191, allocations: 19.86 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.1191, allocations: 19.86 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1194, allocations: 99.64 kB / 490 MB, free: 9.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1194, allocations: 0 / 490 MB, free: 9.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1194, allocations: 0 / 490 MB, free: 9.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1194, allocations: 0 / 490 MB, free: 9.527 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000559/0.12, allocations: 391.2 kB / 490.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.12, allocations: 12.03 kB / 490.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.1201, allocations: 8.844 kB / 490.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1203, allocations: 188.2 kB / 490.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1203, allocations: 4.375 kB / 490.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1203, allocations: 4.375 kB / 490.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1205, allocations: 79.27 kB / 490.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1206, allocations: 0 / 490.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1206, allocations: 0 / 490.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1206, allocations: 0 / 490.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1207, allocations: 39.97 kB / 490.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.1211, allocations: 292.7 kB / 491 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1212, allocations: 46.56 kB / 491 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.1212, allocations: 20.97 kB / 491.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1213, allocations: 16 kB / 491.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1213, allocations: 34.56 kB / 491.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.376e-06/0.1213, allocations: 0 / 491.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006362/0.122, allocations: 177.1 kB / 491.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.122, allocations: 81.11 kB / 491.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1222, allocations: 145.4 kB / 491.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1222, allocations: 25.7 kB / 491.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.1223, allocations: 96.12 kB / 491.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1223, allocations: 27.56 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1224, allocations: 25.7 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1225, allocations: 314.8 kB / 492 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.632e-05/0.1226, allocations: 27.92 kB / 492 MB, free: 7.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.1227, allocations: 41.69 kB / 492.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1229, allocations: 64.81 kB / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1229, allocations: 0 / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002052/0.1231, allocations: 93.89 kB / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1231, allocations: 4 kB / 492.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1231, allocations: 384 / 492.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1231, allocations: 0 / 492.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1232, allocations: 27.95 kB / 492.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1233, allocations: 4 kB / 492.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1233, allocations: 11.92 kB / 492.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1233, allocations: 0 / 492.3 MB, free: 7.031 MB / 378.7 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.846e-05/0.1234, allocations: 125.8 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.1235, allocations: 7.906 kB / 492.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.1237, allocations: 113.9 kB / 492.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1237, allocations: 4 kB / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1237, allocations: 0 / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1238, allocations: 3.938 kB / 492.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.1242, allocations: 386.4 kB / 492.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1242, allocations: 0 / 492.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.1243, allocations: 15.98 kB / 492.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1243, allocations: 7.938 kB / 492.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1243, allocations: 8 kB / 492.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1243, allocations: 3.938 kB / 492.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1243, allocations: 0 / 492.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.1249, allocations: 0.7823 MB / 493.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.125, allocations: 77.11 kB / 493.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.125, allocations: 7.938 kB / 493.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.1251, allocations: 0 / 493.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1251, allocations: 7.984 kB / 493.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1251, allocations: 8 kB / 493.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.1252, allocations: 111.2 kB / 493.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1252, allocations: 0 / 493.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.1256, allocations: 24 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0008523/0.1264, allocations: 446.9 kB / 494.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1266, allocations: 71.81 kB / 494.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1267, allocations: 0 / 494.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.243e-05/0.1267, allocations: 39.98 kB / 494.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1271, allocations: 15.98 kB / 494.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.1276, allocations: 322.5 kB / 494.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1279, allocations: 0.7042 MB / 495.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.128, allocations: 16.61 kB / 495.5 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.128, allocations: 19.42 kB / 495.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.128, allocations: 0 / 495.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of Templates: time 0.003611/0.1316, allocations: 1.405 MB / 497 MB, free: 2.156 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches