Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009176/0.0009177, allocations: 192.7 kB / 17.43 MB, free: 4.238 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, 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.0007407/0.0007407, allocations: 92.95 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.2968/0.2968, allocations: 44.99 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 12 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.294, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001994/0.296, allocations: 1.433 MB / 0.5228 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2975, allocations: 1.338 MB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.2977, allocations: 4 kB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.298, allocations: 46.38 kB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.2983, allocations: 77.08 kB / 0.5242 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.2986, allocations: 90.39 kB / 0.5243 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2988, allocations: 109 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.2989, allocations: 17.64 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.299, allocations: 40.3 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.2991, allocations: 32.73 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2991, allocations: 0 / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2992, allocations: 43.55 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.2993, allocations: 16.22 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.2993, allocations: 60.42 kB / 0.5246 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2995, allocations: 113.3 kB / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2996, allocations: 4 kB / 0.5247 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2996, allocations: 0 / 0.5247 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.2996, allocations: 4 kB / 0.5247 GB, free: 35.96 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.0004641/0.3, allocations: 414.1 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3001, allocations: 8.875 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.3001, allocations: 10.94 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.3003, allocations: 209.8 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3004, allocations: 3.125 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.3004, allocations: 14.62 kB / 0.5253 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3005, allocations: 47.53 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3005, allocations: 4 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3006, allocations: 4 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3006, allocations: 2.969 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.3007, allocations: 19.11 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.301, allocations: 288.2 kB / 0.5257 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3012, allocations: 64.12 kB / 0.5258 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.3012, allocations: 22.08 kB / 0.5258 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3012, allocations: 0 / 0.5258 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3014, allocations: 64.73 kB / 0.5258 GB, free: 34.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.3014, allocations: 0 / 0.5258 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005427/0.302, allocations: 176.8 kB / 0.526 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.302, allocations: 58.31 kB / 0.5261 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3022, allocations: 210.4 kB / 0.5263 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3022, allocations: 33.64 kB / 0.5263 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3023, allocations: 101.4 kB / 0.5264 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.3023, allocations: 28.75 kB / 0.5264 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.3023, allocations: 4 kB / 0.5264 GB, free: 34.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.3024, allocations: 324.8 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.3024, allocations: 26.73 kB / 0.5268 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.3025, allocations: 38.77 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.3026, allocations: 52.81 kB / 0.5268 GB, free: 34.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3026, allocations: 0 / 0.5268 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.3028, allocations: 112.1 kB / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3028, allocations: 3.188 kB / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3028, allocations: 0 / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3028, allocations: 2.75 kB / 0.527 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.3029, allocations: 19.75 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3029, allocations: 6.094 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.303, allocations: 7 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.303, allocations: 0 / 0.527 GB, free: 33.96 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 8.247e-05/0.3031, allocations: 128.5 kB / 0.5271 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.3031, allocations: 13.16 kB / 0.5271 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.3032, allocations: 15.19 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3032, allocations: 6.344 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3032, allocations: 0 / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3032, allocations: 7.938 kB / 0.5272 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.3036, allocations: 391.1 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3036, allocations: 2.656 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.3036, allocations: 7.812 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3036, allocations: 0 / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3036, allocations: 10.61 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3036, allocations: 0 / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3036, allocations: 0 / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3039, allocations: 214.7 kB / 0.5278 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.3039, allocations: 89.3 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.3039, allocations: 3.938 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.304, allocations: 6.5 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.304, allocations: 8.375 kB / 0.5279 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3041, allocations: 6.719 kB / 0.5279 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3042, allocations: 156 kB / 0.528 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3042, allocations: 3.938 kB / 0.528 GB, free: 33.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.3044, allocations: 25.17 kB / 0.528 GB, free: 33.07 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.001019/0.3055, allocations: 0.5289 MB / 0.5286 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.3056, allocations: 57.72 kB / 0.5286 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3057, allocations: 0 / 0.5286 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.3057, allocations: 32.83 kB / 0.5286 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3061, allocations: 26.16 kB / 0.5287 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.3066, allocations: 267.5 kB / 0.5289 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3068, allocations: 0.7085 MB / 0.5296 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.3068, allocations: 17.17 kB / 0.5296 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.3069, allocations: 19.66 kB / 0.5296 GB, free: 31.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3069, allocations: 0 / 0.5296 GB, free: 31.79 MB / 378.7 MB Notification: Performance of Templates: time 0.004023/0.3109, allocations: 1.649 MB / 0.5313 GB, free: 31.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches