Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009617/0.0009617, allocations: 196.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007605/0.0007606, allocations: 100.1 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2794/0.2794, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000236/0.000236, allocations: 8 kB / 470.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.262, allocations: 63.09 MB / 0.5214 GB, free: 38.61 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001618/0.2636, allocations: 1.298 MB / 0.5226 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.2645, allocations: 0.7334 MB / 0.5234 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.2645, allocations: 4 kB / 0.5234 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.2647, allocations: 26.08 kB / 0.5234 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2649, allocations: 64.08 kB / 0.5234 GB, free: 37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.2651, allocations: 92.69 kB / 0.5235 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2652, allocations: 64.73 kB / 0.5236 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.2653, allocations: 9.781 kB / 0.5236 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.2654, allocations: 27.73 kB / 0.5236 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.2654, allocations: 23.3 kB / 0.5237 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2654, allocations: 0 / 0.5237 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.987e-05/0.2655, allocations: 26.59 kB / 0.5237 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.2656, allocations: 17.38 kB / 0.5237 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.2656, allocations: 58.48 kB / 0.5237 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.2657, allocations: 69.81 kB / 0.5238 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2657, allocations: 3.5 kB / 0.5238 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2657, allocations: 4 kB / 0.5238 GB, free: 36.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.2658, allocations: 0 / 0.5238 GB, free: 36.8 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.0002964/0.2661, allocations: 374.2 kB / 0.5242 GB, free: 36.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.2661, allocations: 7.969 kB / 0.5242 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.2661, allocations: 17.19 kB / 0.5242 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2663, allocations: 202.6 kB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.2663, allocations: 384 / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2663, allocations: 6.781 kB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.2664, allocations: 53.03 kB / 0.5245 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2664, allocations: 0 / 0.5245 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2664, allocations: 3.422 kB / 0.5245 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2665, allocations: 2.969 kB / 0.5245 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.2665, allocations: 23.5 kB / 0.5245 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.2668, allocations: 295.4 kB / 0.5248 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.267, allocations: 47.81 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.2671, allocations: 17.16 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2671, allocations: 0 / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.2671, allocations: 34.56 kB / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2671, allocations: 0 / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004894/0.2676, allocations: 172.9 kB / 0.525 GB, free: 35.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2676, allocations: 51.41 kB / 0.5251 GB, free: 35.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2678, allocations: 179.2 kB / 0.5252 GB, free: 35.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/0.2678, allocations: 29.7 kB / 0.5253 GB, free: 35.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.2678, allocations: 97.22 kB / 0.5254 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.2678, allocations: 15.72 kB / 0.5254 GB, free: 35.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.2678, allocations: 3 kB / 0.5254 GB, free: 35.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.2679, allocations: 317.9 kB / 0.5257 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.268, allocations: 37.02 kB / 0.5257 GB, free: 35.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.584e-05/0.268, allocations: 22.09 kB / 0.5257 GB, free: 35.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.2681, allocations: 65.05 kB / 0.5258 GB, free: 35.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2682, allocations: 0 / 0.5258 GB, free: 35.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001599/0.2683, allocations: 96.8 kB / 0.5259 GB, free: 34.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2683, allocations: 5.375 kB / 0.5259 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2683, allocations: 0 / 0.5259 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2684, allocations: 0 / 0.5259 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.2684, allocations: 17.8 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2684, allocations: 6.531 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.2685, allocations: 6.969 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2685, allocations: 6.406 kB / 0.5259 GB, free: 34.94 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 5.482e-05/0.2686, allocations: 125.4 kB / 0.5261 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.2686, allocations: 6.75 kB / 0.5261 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.2688, allocations: 110.9 kB / 0.5262 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2688, allocations: 288 / 0.5262 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2688, allocations: 3.938 kB / 0.5262 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2688, allocations: 7.922 kB / 0.5262 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.2691, allocations: 371.5 kB / 0.5265 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2691, allocations: 0 / 0.5265 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.2692, allocations: 14.88 kB / 0.5266 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2692, allocations: 0 / 0.5266 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2692, allocations: 6.531 kB / 0.5266 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2692, allocations: 0 / 0.5266 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2692, allocations: 0 / 0.5266 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.2694, allocations: 190.7 kB / 0.5267 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.2694, allocations: 97.66 kB / 0.5268 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2695, allocations: 4.188 kB / 0.5268 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.2695, allocations: 12.62 kB / 0.5268 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.2696, allocations: 7.312 kB / 0.5269 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2696, allocations: 0 / 0.5269 GB, free: 34.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.2697, allocations: 137.5 kB / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2697, allocations: 0 / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.2699, allocations: 17.06 kB / 0.527 GB, free: 34.05 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.0007713/0.2706, allocations: 458.9 kB / 0.5274 GB, free: 33.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.2708, allocations: 61.78 kB / 0.5275 GB, free: 33.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2709, allocations: 0 / 0.5275 GB, free: 33.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.2709, allocations: 30.14 kB / 0.5275 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2712, allocations: 22.78 kB / 0.5275 GB, free: 33.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.2716, allocations: 216.2 kB / 0.5278 GB, free: 33.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2717, allocations: 0.6991 MB / 0.5284 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.2718, allocations: 21.95 kB / 0.5285 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2718, allocations: 13.31 kB / 0.5285 GB, free: 32.86 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2718, allocations: 0 / 0.5285 GB, free: 32.86 MB / 378.7 MB Notification: Performance of Templates: time 0.002729/0.2745, allocations: 1.079 MB / 0.5295 GB, free: 32.72 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches