Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008999/0.0009, 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.337/1.337, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007208/0.0007209, allocations: 96.78 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3303/0.3303, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002784, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3198, allocations: 63.09 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001946/0.3218, allocations: 1.433 MB / 0.5228 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.3244, allocations: 2.005 MB / 0.5247 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.228e-05/0.3245, allocations: 2.594 kB / 0.5247 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.3249, allocations: 42.36 kB / 0.5248 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.3251, allocations: 78.2 kB / 0.5249 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3254, allocations: 95.56 kB / 0.5249 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3255, allocations: 100.2 kB / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.3256, allocations: 9.844 kB / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/0.3257, allocations: 47.08 kB / 0.5251 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3258, allocations: 43.5 kB / 0.5251 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3258, allocations: 2.562 kB / 0.5251 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.326, allocations: 90.83 kB / 0.5252 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.3261, allocations: 24.72 kB / 0.5252 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.3261, allocations: 55.95 kB / 0.5253 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.3264, allocations: 159.8 kB / 0.5255 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3264, allocations: 0 / 0.5255 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3264, allocations: 4 kB / 0.5255 GB, free: 35.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3265, allocations: 0 / 0.5255 GB, free: 35.34 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.0005899/0.327, allocations: 419.8 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3271, allocations: 8.562 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3272, allocations: 9.906 kB / 0.5259 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3274, allocations: 216.4 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3275, allocations: 6.594 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3275, allocations: 2.844 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3276, allocations: 71.64 kB / 0.5262 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3277, allocations: 0 / 0.5262 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3277, allocations: 0 / 0.5262 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3277, allocations: 0 / 0.5262 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.3278, allocations: 18.25 kB / 0.5262 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.3281, allocations: 293.6 kB / 0.5265 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3282, allocations: 56.2 kB / 0.5265 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.3283, allocations: 24.39 kB / 0.5265 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3283, allocations: 2.75 kB / 0.5265 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.3284, allocations: 69.28 kB / 0.5266 GB, free: 34.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3285, allocations: 0 / 0.5266 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004741/0.3289, allocations: 170 kB / 0.5268 GB, free: 34.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.329, allocations: 88.05 kB / 0.5268 GB, free: 34.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3291, allocations: 161.6 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3291, allocations: 32.67 kB / 0.527 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.3292, allocations: 98.44 kB / 0.5271 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3292, allocations: 18.81 kB / 0.5271 GB, free: 33.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.3292, allocations: 4 kB / 0.5271 GB, free: 33.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.3293, allocations: 321 kB / 0.5275 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.3293, allocations: 23.12 kB / 0.5275 GB, free: 33.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.3294, allocations: 48.55 kB / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.3295, allocations: 62.39 kB / 0.5276 GB, free: 33.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3295, allocations: 0 / 0.5276 GB, free: 33.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001495/0.3297, allocations: 96.8 kB / 0.5277 GB, free: 33.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3297, allocations: 9.969 kB / 0.5277 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3297, allocations: 4.062 kB / 0.5277 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3297, allocations: 0 / 0.5277 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.3298, allocations: 21.77 kB / 0.5277 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3298, allocations: 3.938 kB / 0.5277 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.3299, allocations: 3.062 kB / 0.5277 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.3299, allocations: 2.812 kB / 0.5277 GB, free: 33.3 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 7.017e-05/0.33, allocations: 124.3 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.33, allocations: 9.812 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.33, allocations: 18.5 kB / 0.5279 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.33, allocations: 0 / 0.5279 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.33, allocations: 6.531 kB / 0.5279 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.33, allocations: 0 / 0.5279 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.3304, allocations: 397.2 kB / 0.5282 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3304, allocations: 2.719 kB / 0.5283 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.3304, allocations: 15.3 kB / 0.5283 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3304, allocations: 0 / 0.5283 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.3305, allocations: 4.031 kB / 0.5283 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3305, allocations: 2.75 kB / 0.5283 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3305, allocations: 3.938 kB / 0.5283 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3306, allocations: 197.1 kB / 0.5285 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.3307, allocations: 95.14 kB / 0.5286 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3307, allocations: 2.969 kB / 0.5286 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.3308, allocations: 6.969 kB / 0.5286 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.3308, allocations: 10.69 kB / 0.5286 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3309, allocations: 2.906 kB / 0.5286 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.3309, allocations: 127.2 kB / 0.5287 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3309, allocations: 2.969 kB / 0.5287 GB, free: 32.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.3312, allocations: 44 kB / 0.5287 GB, free: 32.41 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.001257/0.3325, allocations: 0.6268 MB / 0.5294 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.3327, allocations: 57.55 kB / 0.5294 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3327, allocations: 192 / 0.5294 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.3327, allocations: 32.12 kB / 0.5294 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3331, allocations: 43.22 kB / 0.5295 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.3335, allocations: 228.6 kB / 0.5297 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.3337, allocations: 0.6975 MB / 0.5304 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.3337, allocations: 20.25 kB / 0.5304 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3338, allocations: 23.77 kB / 0.5304 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3338, allocations: 0 / 0.5304 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.004313/0.3381, allocations: 2.277 MB / 0.5326 GB, free: 30.85 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches