Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009266/0.0009268, allocations: 192.3 kB / 17.43 MB, free: 4.246 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007088/0.0007089, allocations: 99.81 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3153/0.3153, allocations: 44.99 MB / 396.9 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.0002419, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2649, allocations: 63.1 MB / 0.5214 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001733/0.2667, allocations: 1.432 MB / 0.5228 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2682, allocations: 1.341 MB / 0.5241 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.2683, allocations: 0 / 0.5241 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.2686, allocations: 36.14 kB / 0.5241 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.2688, allocations: 79.66 kB / 0.5242 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.2691, allocations: 98.59 kB / 0.5243 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.2693, allocations: 105 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.2693, allocations: 12.48 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.2694, allocations: 34.59 kB / 0.5244 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.2695, allocations: 35.25 kB / 0.5245 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2695, allocations: 3.984 kB / 0.5245 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.2696, allocations: 40.98 kB / 0.5245 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.2696, allocations: 18.41 kB / 0.5245 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.2697, allocations: 53.36 kB / 0.5246 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.2698, allocations: 112.9 kB / 0.5247 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2698, allocations: 0 / 0.5247 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2699, allocations: 4 kB / 0.5247 GB, free: 35.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.2699, allocations: 0 / 0.5247 GB, free: 35.83 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003712/0.2702, allocations: 396.6 kB / 0.5251 GB, free: 35.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.2703, allocations: 8.969 kB / 0.5251 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.2703, allocations: 10.75 kB / 0.5251 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2705, allocations: 213.5 kB / 0.5253 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2705, allocations: 4.375 kB / 0.5253 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.2705, allocations: 7.031 kB / 0.5253 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2706, allocations: 56.72 kB / 0.5254 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2707, allocations: 7.5 kB / 0.5254 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2707, allocations: 0 / 0.5254 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2707, allocations: 2.875 kB / 0.5254 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.9e-05/0.2708, allocations: 16.34 kB / 0.5254 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.271, allocations: 285.9 kB / 0.5257 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2712, allocations: 60.94 kB / 0.5257 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.2712, allocations: 16.52 kB / 0.5257 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.2712, allocations: 6.062 kB / 0.5257 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.2714, allocations: 69.73 kB / 0.5258 GB, free: 34.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.2714, allocations: 3.125 kB / 0.5258 GB, free: 34.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004407/0.2719, allocations: 179.2 kB / 0.526 GB, free: 34.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.2719, allocations: 58.38 kB / 0.526 GB, free: 34.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.272, allocations: 179.6 kB / 0.5262 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.272, allocations: 25.7 kB / 0.5262 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.2721, allocations: 105.1 kB / 0.5263 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2721, allocations: 25.78 kB / 0.5264 GB, free: 34.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2721, allocations: 4 kB / 0.5264 GB, free: 34.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.2722, allocations: 325 kB / 0.5267 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.2722, allocations: 26.05 kB / 0.5267 GB, free: 33.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.2723, allocations: 39.11 kB / 0.5267 GB, free: 33.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.869e-05/0.2724, allocations: 60.52 kB / 0.5268 GB, free: 33.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2724, allocations: 0 / 0.5268 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001458/0.2725, allocations: 107.1 kB / 0.5269 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2725, allocations: 5.219 kB / 0.5269 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2726, allocations: 0 / 0.5269 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2726, allocations: 4.031 kB / 0.5269 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.2727, allocations: 20.81 kB / 0.5269 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2727, allocations: 2.719 kB / 0.5269 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.2727, allocations: 6.688 kB / 0.5269 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.2727, allocations: 2.531 kB / 0.5269 GB, free: 33.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.963e-05/0.2728, allocations: 126.5 kB / 0.527 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.2728, allocations: 9.562 kB / 0.5271 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.2729, allocations: 12.44 kB / 0.5271 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2729, allocations: 6.875 kB / 0.5271 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2729, allocations: 0 / 0.5271 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2729, allocations: 7.359 kB / 0.5271 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.2732, allocations: 386.7 kB / 0.5275 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2732, allocations: 0 / 0.5275 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.2733, allocations: 8.938 kB / 0.5275 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2733, allocations: 0 / 0.5275 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.2733, allocations: 6.969 kB / 0.5275 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2733, allocations: 4.031 kB / 0.5275 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2733, allocations: 3.938 kB / 0.5275 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.2735, allocations: 208.9 kB / 0.5277 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.2735, allocations: 84.08 kB / 0.5278 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2735, allocations: 7.938 kB / 0.5278 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.2736, allocations: 6.125 kB / 0.5278 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.2737, allocations: 9.953 kB / 0.5278 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2737, allocations: 2.781 kB / 0.5278 GB, free: 33.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.2738, allocations: 138.4 kB / 0.5279 GB, free: 32.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2738, allocations: 3.938 kB / 0.5279 GB, free: 32.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.274, allocations: 25.28 kB / 0.5279 GB, free: 32.96 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008833/0.2749, allocations: 0.524 MB / 0.5285 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.275, allocations: 50.64 kB / 0.5285 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2751, allocations: 2.938 kB / 0.5285 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.2751, allocations: 32.58 kB / 0.5285 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2754, allocations: 31.3 kB / 0.5286 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.2758, allocations: 255.8 kB / 0.5288 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2759, allocations: 0.7034 MB / 0.5295 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.276, allocations: 21.52 kB / 0.5295 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.276, allocations: 19.42 kB / 0.5295 GB, free: 31.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.276, allocations: 0 / 0.5295 GB, free: 31.69 MB / 378.7 MB Notification: Performance of Templates: time 0.00349/0.2795, allocations: 1.628 MB / 0.5311 GB, free: 31.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches