Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009118/0.000912, allocations: 196.6 kB / 17.43 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007132/0.0007133, allocations: 95.62 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2752/0.2752, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002436, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2646, allocations: 63.1 MB / 0.5214 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001399/0.266, allocations: 1.299 MB / 0.5226 GB, free: 37.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2672, allocations: 1.399 MB / 0.524 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2672, allocations: 0 / 0.524 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2674, allocations: 28.03 kB / 0.524 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.2676, allocations: 70.08 kB / 0.5241 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.2678, allocations: 76.78 kB / 0.5242 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.699e-05/0.2679, allocations: 60 kB / 0.5242 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.268, allocations: 14.16 kB / 0.5242 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.268, allocations: 27.55 kB / 0.5243 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2681, allocations: 27.8 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2682, allocations: 4 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2683, allocations: 82.69 kB / 0.5244 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.2683, allocations: 10.52 kB / 0.5244 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.2684, allocations: 50.7 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2685, allocations: 128.1 kB / 0.5246 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2686, allocations: 2.844 kB / 0.5246 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2686, allocations: 0 / 0.5246 GB, free: 36.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2686, allocations: 0 / 0.5246 GB, free: 36.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003103/0.2689, allocations: 391.4 kB / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2689, allocations: 18.7 kB / 0.525 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.269, allocations: 7.625 kB / 0.525 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2691, allocations: 192.3 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.2691, allocations: 384 / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2691, allocations: 3.25 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2693, allocations: 68.53 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2693, allocations: 0 / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2693, allocations: 0 / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2693, allocations: 6.781 kB / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.2694, allocations: 21.86 kB / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.2696, allocations: 279.2 kB / 0.5255 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.2698, allocations: 53.14 kB / 0.5256 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.2698, allocations: 11.95 kB / 0.5256 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2699, allocations: 2.906 kB / 0.5256 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.2699, allocations: 37.89 kB / 0.5256 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2699, allocations: 0 / 0.5256 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004523/0.2703, allocations: 153.8 kB / 0.5258 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2704, allocations: 80.02 kB / 0.5258 GB, free: 34.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.2705, allocations: 142.5 kB / 0.526 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.994e-06/0.2705, allocations: 29.7 kB / 0.526 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.2705, allocations: 90.92 kB / 0.5261 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.2705, allocations: 26.27 kB / 0.5261 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.2706, allocations: 3.938 kB / 0.5261 GB, free: 34.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.2706, allocations: 321.8 kB / 0.5264 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.2707, allocations: 24.52 kB / 0.5264 GB, free: 34.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.2707, allocations: 41.97 kB / 0.5265 GB, free: 34.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.2708, allocations: 48.28 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2709, allocations: 0 / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001462/0.271, allocations: 94.06 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.271, allocations: 5 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.271, allocations: 7.938 kB / 0.5266 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.271, allocations: 2.594 kB / 0.5266 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.2711, allocations: 18.7 kB / 0.5266 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2711, allocations: 0 / 0.5266 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.2712, allocations: 9.719 kB / 0.5267 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.2712, allocations: 7.312 kB / 0.5267 GB, free: 34.25 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 (5): * Single equations (assignments): 5 * 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 4.77e-05/0.2712, allocations: 115.4 kB / 0.5268 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.2713, allocations: 2.844 kB / 0.5268 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.2715, allocations: 96.91 kB / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2715, allocations: 2.75 kB / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2715, allocations: 3.422 kB / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2715, allocations: 0 / 0.5269 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.2718, allocations: 364.1 kB / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.2718, allocations: 2.781 kB / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/0.2719, allocations: 18.66 kB / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2719, allocations: 0 / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2719, allocations: 0 / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2719, allocations: 3.938 kB / 0.5272 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2719, allocations: 0 / 0.5272 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.272, allocations: 189 kB / 0.5274 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.2721, allocations: 87.25 kB / 0.5275 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.2721, allocations: 6.812 kB / 0.5275 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.2722, allocations: 9.938 kB / 0.5275 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.2722, allocations: 3.281 kB / 0.5275 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2722, allocations: 6.938 kB / 0.5275 GB, free: 33.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.081e-05/0.2723, allocations: 110.1 kB / 0.5276 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2723, allocations: 4 kB / 0.5276 GB, free: 33.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.2725, allocations: 43 kB / 0.5277 GB, free: 33.37 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 (5): * Single equations (assignments): 5 * 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.0008851/0.2734, allocations: 0.5511 MB / 0.5282 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.2736, allocations: 57.05 kB / 0.5283 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2736, allocations: 0 / 0.5283 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.2737, allocations: 30.66 kB / 0.5283 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.274, allocations: 19.92 kB / 0.5283 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.2743, allocations: 184 kB / 0.5285 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.2744, allocations: 0.6931 MB / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.2745, allocations: 8.422 kB / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.2745, allocations: 19.12 kB / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2745, allocations: 0 / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of Templates: time 0.003285/0.2778, allocations: 1.715 MB / 0.5309 GB, free: 31.94 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches