Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009595/0.0009596, allocations: 201.1 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, 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.0007872/0.0007874, allocations: 99.83 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3171/0.3171, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 8.219 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.305, allocations: 63.1 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00156/0.3066, allocations: 1.518 MB / 0.5229 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3079, allocations: 1.444 MB / 0.5243 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.308, allocations: 0 / 0.5243 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.3084, allocations: 296.9 kB / 0.5246 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.3087, allocations: 230.6 kB / 0.5248 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.309, allocations: 147.5 kB / 0.5249 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.3092, allocations: 247.5 kB / 0.5251 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.3093, allocations: 17.38 kB / 0.5252 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3094, allocations: 119 kB / 0.5253 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3096, allocations: 185 kB / 0.5255 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3096, allocations: 5.531 kB / 0.5255 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.3097, allocations: 40.95 kB / 0.5255 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.3098, allocations: 133 kB / 0.5256 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.3099, allocations: 171.2 kB / 0.5258 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3101, allocations: 354.2 kB / 0.5261 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3101, allocations: 0 / 0.5261 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3102, allocations: 0 / 0.5261 GB, free: 35.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3102, allocations: 7.938 kB / 0.5261 GB, free: 35.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000678/0.3108, allocations: 0.6688 MB / 0.5268 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3109, allocations: 8.625 kB / 0.5268 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.311, allocations: 46.06 kB / 0.5268 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3114, allocations: 448.6 kB / 0.5273 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3114, allocations: 384 / 0.5273 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3114, allocations: 14.16 kB / 0.5273 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3116, allocations: 84.77 kB / 0.5274 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3116, allocations: 3.984 kB / 0.5274 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3116, allocations: 10 kB / 0.5274 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3117, allocations: 0 / 0.5274 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.3117, allocations: 22.19 kB / 0.5274 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.312, allocations: 377.1 kB / 0.5278 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3123, allocations: 109.7 kB / 0.5279 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.3123, allocations: 44.48 kB / 0.5279 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3124, allocations: 0 / 0.5279 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.3126, allocations: 119.8 kB / 0.528 GB, free: 33.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3126, allocations: 0 / 0.528 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004563/0.3131, allocations: 189.5 kB / 0.5282 GB, free: 33.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3131, allocations: 82.91 kB / 0.5283 GB, free: 33.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/0.3139, allocations: 1.013 MB / 0.5293 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3139, allocations: 32.45 kB / 0.5293 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3141, allocations: 233.5 kB / 0.5295 GB, free: 33.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.3141, allocations: 32.73 kB / 0.5296 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.3141, allocations: 3.938 kB / 0.5296 GB, free: 33.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.3142, allocations: 369.4 kB / 0.5299 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.3143, allocations: 26.16 kB / 0.5299 GB, free: 32.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.3144, allocations: 63.03 kB / 0.53 GB, free: 32.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3145, allocations: 81.41 kB / 0.5301 GB, free: 32.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3145, allocations: 0 / 0.5301 GB, free: 32.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002281/0.3147, allocations: 174.5 kB / 0.5302 GB, free: 32.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3148, allocations: 5.688 kB / 0.5302 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3148, allocations: 7.484 kB / 0.5303 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3148, allocations: 3.188 kB / 0.5303 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3149, allocations: 25.27 kB / 0.5303 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3149, allocations: 0 / 0.5303 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.315, allocations: 14 kB / 0.5303 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.315, allocations: 5.625 kB / 0.5303 GB, free: 32.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001517/0.3152, allocations: 226.4 kB / 0.5305 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.3152, allocations: 50.34 kB / 0.5306 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.3153, allocations: 60.36 kB / 0.5306 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3153, allocations: 2.844 kB / 0.5306 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3153, allocations: 3.234 kB / 0.5306 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3153, allocations: 0 / 0.5306 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.3156, allocations: 345.2 kB / 0.531 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3156, allocations: 0 / 0.531 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3156, allocations: 8.938 kB / 0.531 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3156, allocations: 0 / 0.531 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3156, allocations: 6.906 kB / 0.531 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3156, allocations: 3.141 kB / 0.531 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3156, allocations: 3.938 kB / 0.531 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3159, allocations: 200.9 kB / 0.5312 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.316, allocations: 150 kB / 0.5313 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.3161, allocations: 2.75 kB / 0.5313 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.3161, allocations: 8.875 kB / 0.5313 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3162, allocations: 13.23 kB / 0.5313 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3162, allocations: 16.23 kB / 0.5313 GB, free: 31.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006332/0.3169, allocations: 0.7556 MB / 0.5321 GB, free: 31.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3169, allocations: 0 / 0.5321 GB, free: 31.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.3171, allocations: 40.75 kB / 0.5321 GB, free: 31.65 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008841/0.318, allocations: 477.5 kB / 0.5326 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3182, allocations: 76.84 kB / 0.5327 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3182, allocations: 4.125 kB / 0.5327 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.3183, allocations: 44.55 kB / 0.5327 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.3187, allocations: 71.2 kB / 0.5328 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3198, allocations: 0.9508 MB / 0.5337 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3201, allocations: 0.8378 MB / 0.5345 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.3202, allocations: 68.17 kB / 0.5346 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3203, allocations: 29.72 kB / 0.5346 GB, free: 30.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3203, allocations: 0 / 0.5346 GB, free: 30.08 MB / 378.7 MB Notification: Performance of Templates: time 0.008166/0.3285, allocations: 3.451 MB / 0.538 GB, free: 29.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches