Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009701/0.0009701, allocations: 195.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, 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.0007471/0.0007469, allocations: 96.28 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2815/0.2815, allocations: 45 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002424, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 63.09 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001531/0.2674, allocations: 1.323 MB / 0.5227 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.2681, allocations: 0.733 MB / 0.5234 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.2682, allocations: 2.531 kB / 0.5234 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.2684, allocations: 108 kB / 0.5235 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.2686, allocations: 101.1 kB / 0.5236 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2689, allocations: 106.9 kB / 0.5237 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.2691, allocations: 77.94 kB / 0.5238 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2692, allocations: 18.86 kB / 0.5238 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.2692, allocations: 34.66 kB / 0.5238 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.2693, allocations: 65.05 kB / 0.5239 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2694, allocations: 6.812 kB / 0.5239 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.2695, allocations: 39.77 kB / 0.5239 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.2695, allocations: 25.62 kB / 0.5239 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.2696, allocations: 59.23 kB / 0.524 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.2697, allocations: 111.4 kB / 0.5241 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2698, allocations: 0 / 0.5241 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2698, allocations: 0 / 0.5241 GB, free: 36.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2698, allocations: 0 / 0.5241 GB, free: 36.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003597/0.2701, allocations: 413.4 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.2702, allocations: 9.281 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.2702, allocations: 18.33 kB / 0.5245 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.2704, allocations: 210 kB / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.2704, allocations: 384 / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.2704, allocations: 2.969 kB / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2705, allocations: 61.64 kB / 0.5248 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2705, allocations: 3.906 kB / 0.5248 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2706, allocations: 0 / 0.5248 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2706, allocations: 4 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.2707, allocations: 30.73 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.271, allocations: 307.6 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.2711, allocations: 53.3 kB / 0.5252 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.2712, allocations: 20.86 kB / 0.5252 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2712, allocations: 0 / 0.5252 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.2712, allocations: 33.47 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2712, allocations: 3.938 kB / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007704/0.272, allocations: 276.2 kB / 0.5255 GB, free: 35.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.272, allocations: 55.34 kB / 0.5255 GB, free: 35.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.2722, allocations: 251.1 kB / 0.5258 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.2722, allocations: 25.7 kB / 0.5258 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.2723, allocations: 120.5 kB / 0.5259 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2723, allocations: 22.56 kB / 0.5259 GB, free: 35.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2723, allocations: 6.844 kB / 0.5259 GB, free: 35.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.2724, allocations: 328.2 kB / 0.5263 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.2724, allocations: 27.36 kB / 0.5263 GB, free: 34.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.2725, allocations: 35.73 kB / 0.5263 GB, free: 34.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2727, allocations: 81.97 kB / 0.5264 GB, free: 34.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2727, allocations: 0 / 0.5264 GB, free: 34.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001831/0.2729, allocations: 127 kB / 0.5265 GB, free: 34.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2729, allocations: 6.812 kB / 0.5265 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2729, allocations: 6.875 kB / 0.5265 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2729, allocations: 3.938 kB / 0.5265 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.273, allocations: 18.88 kB / 0.5265 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.273, allocations: 0 / 0.5265 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.2731, allocations: 12.3 kB / 0.5266 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2731, allocations: 3.062 kB / 0.5266 GB, free: 34.57 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 6.799e-05/0.2732, allocations: 131.8 kB / 0.5267 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.2732, allocations: 15.59 kB / 0.5267 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.2734, allocations: 141.2 kB / 0.5268 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2735, allocations: 2.594 kB / 0.5268 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2735, allocations: 432 / 0.5268 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2735, allocations: 7.406 kB / 0.5268 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.2739, allocations: 434.8 kB / 0.5273 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2739, allocations: 0 / 0.5273 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.274, allocations: 17.66 kB / 0.5273 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.274, allocations: 6.969 kB / 0.5273 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.274, allocations: 15.95 kB / 0.5273 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.274, allocations: 0 / 0.5273 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.274, allocations: 3.031 kB / 0.5273 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2742, allocations: 224 kB / 0.5275 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.2743, allocations: 94.81 kB / 0.5276 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2743, allocations: 2.938 kB / 0.5276 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.2744, allocations: 6.156 kB / 0.5276 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.2744, allocations: 10.28 kB / 0.5276 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2744, allocations: 2.938 kB / 0.5276 GB, free: 33.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.2745, allocations: 189.2 kB / 0.5278 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2745, allocations: 0 / 0.5278 GB, free: 33.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000225/0.2748, allocations: 26.47 kB / 0.5278 GB, free: 33.6 MB / 378.7 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.0009164/0.2757, allocations: 0.5032 MB / 0.5283 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2759, allocations: 86.84 kB / 0.5284 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2759, allocations: 0 / 0.5284 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.276, allocations: 46.98 kB / 0.5285 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2763, allocations: 21.09 kB / 0.5285 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.2767, allocations: 331.3 kB / 0.5288 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2768, allocations: 0.7203 MB / 0.5295 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.2769, allocations: 22.09 kB / 0.5295 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.2769, allocations: 13.22 kB / 0.5295 GB, free: 32.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2769, allocations: 0 / 0.5295 GB, free: 32.31 MB / 378.7 MB Notification: Performance of Templates: time 0.003095/0.28, allocations: 1.335 MB / 0.5308 GB, free: 32.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches