Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 200.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.262/1.262, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007973/0.0007973, allocations: 100.8 kB / 299.9 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.3465/0.3465, allocations: 45.02 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2814, allocations: 63.1 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001517/0.2829, allocations: 1.432 MB / 0.5228 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2847, allocations: 2.012 MB / 0.5247 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.2848, allocations: 0 / 0.5247 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.285, allocations: 40.09 kB / 0.5248 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.2853, allocations: 78.78 kB / 0.5249 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.2855, allocations: 93.64 kB / 0.5249 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2857, allocations: 99.42 kB / 0.525 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.2858, allocations: 20.42 kB / 0.5251 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.2859, allocations: 38.56 kB / 0.5251 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.286, allocations: 45.55 kB / 0.5251 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.286, allocations: 2.75 kB / 0.5251 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.2861, allocations: 90.42 kB / 0.5252 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.2862, allocations: 19.55 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.2863, allocations: 57.92 kB / 0.5253 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.2865, allocations: 165.3 kB / 0.5255 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2865, allocations: 0 / 0.5255 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2865, allocations: 0 / 0.5255 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.2865, allocations: 0 / 0.5255 GB, free: 35.32 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.0004007/0.2869, allocations: 415.8 kB / 0.5259 GB, free: 34.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.287, allocations: 11.42 kB / 0.5259 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.287, allocations: 10.31 kB / 0.5259 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.2872, allocations: 212.8 kB / 0.5261 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2872, allocations: 7.875 kB / 0.5261 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2872, allocations: 6.625 kB / 0.5261 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2874, allocations: 70 kB / 0.5262 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2874, allocations: 3.328 kB / 0.5262 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2874, allocations: 0 / 0.5262 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2874, allocations: 0 / 0.5262 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.2875, allocations: 18.36 kB / 0.5262 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.2878, allocations: 284 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2879, allocations: 64.72 kB / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.288, allocations: 17.3 kB / 0.5265 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.288, allocations: 0 / 0.5265 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.2882, allocations: 67.98 kB / 0.5266 GB, free: 34.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2882, allocations: 0 / 0.5266 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004377/0.2886, allocations: 166.4 kB / 0.5268 GB, free: 34.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2887, allocations: 91.8 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2888, allocations: 162.2 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2888, allocations: 25.7 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.2888, allocations: 108.8 kB / 0.5271 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2889, allocations: 22.61 kB / 0.5271 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.2889, allocations: 0 / 0.5271 GB, free: 33.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.2889, allocations: 321.1 kB / 0.5275 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.289, allocations: 24.31 kB / 0.5275 GB, free: 33.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.289, allocations: 46.92 kB / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.877e-05/0.2891, allocations: 57.34 kB / 0.5276 GB, free: 33.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2891, allocations: 0 / 0.5276 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000142/0.2893, allocations: 97.22 kB / 0.5277 GB, free: 33.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2893, allocations: 9.969 kB / 0.5277 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2893, allocations: 0 / 0.5277 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2893, allocations: 6.812 kB / 0.5277 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.2894, allocations: 21.44 kB / 0.5277 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2894, allocations: 3.938 kB / 0.5277 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.2895, allocations: 7 kB / 0.5277 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2895, allocations: 2.844 kB / 0.5277 GB, free: 33.28 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.539e-05/0.2896, allocations: 123.2 kB / 0.5278 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.2896, allocations: 9.594 kB / 0.5278 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.2896, allocations: 11.66 kB / 0.5279 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2896, allocations: 10.97 kB / 0.5279 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2896, allocations: 3.938 kB / 0.5279 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2896, allocations: 3.891 kB / 0.5279 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.29, allocations: 397.7 kB / 0.5283 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.29, allocations: 0 / 0.5283 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.29, allocations: 15.84 kB / 0.5283 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.29, allocations: 0 / 0.5283 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.29, allocations: 2.906 kB / 0.5283 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2901, allocations: 32 / 0.5283 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2901, allocations: 4 kB / 0.5283 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2902, allocations: 205.8 kB / 0.5285 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2903, allocations: 91.98 kB / 0.5286 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.2903, allocations: 7.094 kB / 0.5286 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.2904, allocations: 0 / 0.5286 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2904, allocations: 13.36 kB / 0.5286 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2905, allocations: 2.656 kB / 0.5286 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.775e-05/0.2905, allocations: 126.5 kB / 0.5287 GB, free: 32.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2905, allocations: 0 / 0.5287 GB, free: 32.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.2908, allocations: 51.53 kB / 0.5288 GB, free: 32.39 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.001097/0.2919, allocations: 0.6181 MB / 0.5294 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.2921, allocations: 58.86 kB / 0.5294 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2921, allocations: 0 / 0.5294 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.2922, allocations: 30.25 kB / 0.5294 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2925, allocations: 34.2 kB / 0.5295 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.2929, allocations: 236.4 kB / 0.5297 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.293, allocations: 0.7006 MB / 0.5304 GB, free: 31.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.112e-05/0.293, allocations: 20.44 kB / 0.5304 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.2931, allocations: 19.62 kB / 0.5304 GB, free: 31.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2931, allocations: 0 / 0.5304 GB, free: 31.08 MB / 378.7 MB Notification: Performance of Templates: time 0.00421/0.2973, allocations: 2.279 MB / 0.5326 GB, free: 30.83 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches