Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, 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.000842/0.000842, allocations: 99.88 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.2734/0.2734, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002517/0.0002518, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 63.1 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001671/0.2905, allocations: 1.429 MB / 0.5228 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2919, allocations: 1.346 MB / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.292, allocations: 0 / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.2923, allocations: 41.58 kB / 0.5241 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.2925, allocations: 74.22 kB / 0.5242 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.2928, allocations: 96.72 kB / 0.5243 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.293, allocations: 99.91 kB / 0.5244 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.2931, allocations: 5.875 kB / 0.5244 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.2931, allocations: 44.03 kB / 0.5244 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.2932, allocations: 39.38 kB / 0.5245 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2932, allocations: 2.844 kB / 0.5245 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.2933, allocations: 37.44 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.2934, allocations: 17.52 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.2934, allocations: 61.3 kB / 0.5246 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.2936, allocations: 104.7 kB / 0.5247 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2936, allocations: 0 / 0.5247 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2936, allocations: 0 / 0.5247 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.2936, allocations: 0 / 0.5247 GB, free: 35.94 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.0003687/0.294, allocations: 404.1 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.294, allocations: 9.094 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.2941, allocations: 10.44 kB / 0.5251 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2942, allocations: 211.5 kB / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2943, allocations: 7.156 kB / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.2943, allocations: 7.094 kB / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2944, allocations: 51.59 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2944, allocations: 0 / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2944, allocations: 3.234 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2944, allocations: 4 kB / 0.5254 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.2945, allocations: 18.91 kB / 0.5254 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.2948, allocations: 286.4 kB / 0.5257 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2949, allocations: 56.78 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.295, allocations: 20.92 kB / 0.5257 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.295, allocations: 2.688 kB / 0.5257 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.2951, allocations: 75.33 kB / 0.5258 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.2952, allocations: 0 / 0.5258 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004439/0.2956, allocations: 172.5 kB / 0.526 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.2956, allocations: 55.34 kB / 0.526 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2958, allocations: 184 kB / 0.5262 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.2958, allocations: 28.58 kB / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.2958, allocations: 102.2 kB / 0.5263 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.2958, allocations: 32.55 kB / 0.5264 GB, free: 34.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2959, allocations: 0 / 0.5264 GB, free: 34.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.2959, allocations: 324.6 kB / 0.5267 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.296, allocations: 21.84 kB / 0.5267 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.927e-05/0.296, allocations: 34.72 kB / 0.5267 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.2961, allocations: 61.86 kB / 0.5268 GB, free: 34.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2961, allocations: 0 / 0.5268 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000145/0.2963, allocations: 110.8 kB / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2963, allocations: 5.375 kB / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2963, allocations: 0 / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2963, allocations: 3.984 kB / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.2964, allocations: 26.06 kB / 0.5269 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2964, allocations: 0 / 0.5269 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.2965, allocations: 10.78 kB / 0.5269 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2965, allocations: 6.875 kB / 0.5269 GB, free: 33.94 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.46e-05/0.2965, allocations: 121.9 kB / 0.527 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.2966, allocations: 9.062 kB / 0.5271 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.2966, allocations: 15.34 kB / 0.5271 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2966, allocations: 0 / 0.5271 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2966, allocations: 3.422 kB / 0.5271 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2966, allocations: 3.938 kB / 0.5271 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.2969, allocations: 393.2 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2969, allocations: 2.969 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.297, allocations: 5.125 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.297, allocations: 2.812 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.297, allocations: 3.938 kB / 0.5275 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.297, allocations: 2.406 kB / 0.5275 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.297, allocations: 7.219 kB / 0.5275 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.2972, allocations: 202.3 kB / 0.5277 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.2972, allocations: 94.22 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.2972, allocations: 3.938 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.2973, allocations: 2.812 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.2973, allocations: 8.688 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2974, allocations: 2.812 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.798e-05/0.2974, allocations: 146.7 kB / 0.5279 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2975, allocations: 0 / 0.5279 GB, free: 33.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.2977, allocations: 29 kB / 0.5279 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.0008876/0.2986, allocations: 0.5182 MB / 0.5284 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.2987, allocations: 61.73 kB / 0.5285 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2988, allocations: 0 / 0.5285 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.2988, allocations: 26.19 kB / 0.5285 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2991, allocations: 33.84 kB / 0.5286 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.2994, allocations: 251.9 kB / 0.5288 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2996, allocations: 0.7008 MB / 0.5295 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.2996, allocations: 20.8 kB / 0.5295 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.2997, allocations: 20.31 kB / 0.5295 GB, free: 31.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2997, allocations: 0 / 0.5295 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.00346/0.3032, allocations: 1.637 MB / 0.5311 GB, free: 31.62 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches