Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 195.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, 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.0007996/0.0007995, allocations: 90.67 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3142/0.3142, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002975, allocations: 12 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 63.1 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001964/0.3246, allocations: 1.39 MB / 0.5227 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3261, allocations: 1.328 MB / 0.524 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.3262, allocations: 0 / 0.524 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.3266, allocations: 57.42 kB / 0.5241 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.3269, allocations: 79.19 kB / 0.5242 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.3272, allocations: 90.14 kB / 0.5242 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3274, allocations: 104.2 kB / 0.5243 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.3275, allocations: 5.875 kB / 0.5244 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.3276, allocations: 44.92 kB / 0.5244 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.3277, allocations: 40.92 kB / 0.5244 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3277, allocations: 0 / 0.5244 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3278, allocations: 27.44 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.3279, allocations: 16.53 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.3279, allocations: 60.56 kB / 0.5245 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3281, allocations: 93.8 kB / 0.5246 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3281, allocations: 0 / 0.5246 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3281, allocations: 0 / 0.5246 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3282, allocations: 3.938 kB / 0.5246 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004531/0.3286, allocations: 390.8 kB / 0.525 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3287, allocations: 15.25 kB / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.3287, allocations: 7.531 kB / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3289, allocations: 218.4 kB / 0.5252 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3289, allocations: 384 / 0.5252 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.329, allocations: 6.938 kB / 0.5252 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3291, allocations: 44.84 kB / 0.5253 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3291, allocations: 0 / 0.5253 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3291, allocations: 4 kB / 0.5253 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3291, allocations: 2.844 kB / 0.5253 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.3292, allocations: 15.48 kB / 0.5253 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.3294, allocations: 181.8 kB / 0.5255 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3295, allocations: 54.8 kB / 0.5255 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.3296, allocations: 20.89 kB / 0.5255 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3296, allocations: 7.984 kB / 0.5256 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3298, allocations: 65.31 kB / 0.5256 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.094e-06/0.3298, allocations: 0 / 0.5256 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002623/0.3301, allocations: 98.66 kB / 0.5257 GB, free: 34.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.3301, allocations: 51.41 kB / 0.5258 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3302, allocations: 181.4 kB / 0.5259 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3303, allocations: 28.58 kB / 0.526 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.3303, allocations: 106.9 kB / 0.5261 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3303, allocations: 18.34 kB / 0.5261 GB, free: 34.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.3303, allocations: 0 / 0.5261 GB, free: 34.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.3304, allocations: 320.4 kB / 0.5264 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.3305, allocations: 15.34 kB / 0.5264 GB, free: 34.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/0.3305, allocations: 32.11 kB / 0.5264 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.3306, allocations: 48.52 kB / 0.5265 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3306, allocations: 0 / 0.5265 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001332/0.3308, allocations: 82.2 kB / 0.5266 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3308, allocations: 5.438 kB / 0.5266 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3308, allocations: 2.531 kB / 0.5266 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3308, allocations: 0 / 0.5266 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.3309, allocations: 14.7 kB / 0.5266 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3309, allocations: 6.672 kB / 0.5266 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.331, allocations: 2.594 kB / 0.5266 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.331, allocations: 6.594 kB / 0.5266 GB, free: 34.12 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 (7): * Single equations (assignments): 7 * 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.415e-05/0.3311, allocations: 129.3 kB / 0.5267 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.3311, allocations: 10.44 kB / 0.5267 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3311, allocations: 17.34 kB / 0.5267 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3312, allocations: 0 / 0.5267 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3312, allocations: 2.812 kB / 0.5267 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3312, allocations: 0 / 0.5267 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3313, allocations: 192.2 kB / 0.5269 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3313, allocations: 0 / 0.5269 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.3313, allocations: 9.984 kB / 0.5269 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3313, allocations: 0 / 0.5269 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3313, allocations: 2.812 kB / 0.5269 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3313, allocations: 0 / 0.5269 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3313, allocations: 0 / 0.5269 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.3315, allocations: 112.6 kB / 0.527 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.3315, allocations: 86.88 kB / 0.5271 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3316, allocations: 4 kB / 0.5271 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.3316, allocations: 6.625 kB / 0.5271 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3316, allocations: 6.203 kB / 0.5271 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3317, allocations: 6.938 kB / 0.5272 GB, free: 33.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.3318, allocations: 138.3 kB / 0.5273 GB, free: 33.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3318, allocations: 3.938 kB / 0.5273 GB, free: 33.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.332, allocations: 17.22 kB / 0.5273 GB, free: 33.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009029/0.3329, allocations: 459.2 kB / 0.5277 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.3331, allocations: 42.3 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3331, allocations: 0 / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/0.3331, allocations: 23.11 kB / 0.5278 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3334, allocations: 36 kB / 0.5278 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.3338, allocations: 213 kB / 0.528 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.3339, allocations: 0.6998 MB / 0.5287 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.757e-05/0.334, allocations: 20.58 kB / 0.5287 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.334, allocations: 17.16 kB / 0.5288 GB, free: 32.27 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.334, allocations: 3.938 kB / 0.5288 GB, free: 32.27 MB / 378.7 MB Notification: Performance of Templates: time 0.003924/0.3379, allocations: 1.425 MB / 0.5302 GB, free: 32.1 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches