Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 112.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3245, allocations: 60.83 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002578/0.3271, allocations: 1.668 MB / 0.5213 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3283, allocations: 0.8546 MB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.3284, allocations: 5.25 kB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.3287, allocations: 76.36 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.3289, allocations: 79.81 kB / 0.5223 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.3292, allocations: 103 kB / 0.5224 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3293, allocations: 106.5 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3294, allocations: 5.078 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.3295, allocations: 50.91 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3296, allocations: 51.09 kB / 0.5226 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3296, allocations: 2.344 kB / 0.5226 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.3297, allocations: 35.48 kB / 0.5226 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.3298, allocations: 23.42 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.3298, allocations: 37.64 kB / 0.5227 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.33, allocations: 102 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.33, allocations: 5.25 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3301, allocations: 0 / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.3301, allocations: 0 / 0.5228 GB, free: 1.594 MB / 382.1 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.0004456/0.3305, allocations: 401.5 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3306, allocations: 8.062 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.3306, allocations: 11.22 kB / 0.5232 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3308, allocations: 214.5 kB / 0.5234 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3308, allocations: 1.5 kB / 0.5234 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3309, allocations: 6 kB / 0.5234 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.331, allocations: 51.03 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.331, allocations: 0.75 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.331, allocations: 0 / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3311, allocations: 1.906 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.3311, allocations: 14.27 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.3313, allocations: 189 kB / 0.5236 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3315, allocations: 60.84 kB / 0.5237 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.3315, allocations: 26.5 kB / 0.5237 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3315, allocations: 9.859 kB / 0.5237 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.3317, allocations: 63.89 kB / 0.5238 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.3317, allocations: 1.312 kB / 0.5238 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002544/0.3319, allocations: 95.86 kB / 0.5239 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.332, allocations: 56.53 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3322, allocations: 210 kB / 0.5241 GB, free: 348 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3322, allocations: 27.59 kB / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.3322, allocations: 104.7 kB / 0.5242 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.3323, allocations: 11.64 kB / 0.5243 GB, free: 208 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3323, allocations: 19.62 kB / 0.5243 GB, free: 188 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3324, allocations: 322.1 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.3325, allocations: 14.17 kB / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.3326, allocations: 34.84 kB / 0.5246 GB, free: 15.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3327, allocations: 41.3 kB / 0.5247 GB, free: 15.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3327, allocations: 1.062 kB / 0.5247 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001643/0.3329, allocations: 89.45 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3329, allocations: 8.219 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3329, allocations: 0.6094 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3329, allocations: 5.406 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.333, allocations: 10.3 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.333, allocations: 5.281 kB / 0.5248 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.3331, allocations: 3.469 kB / 0.5248 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3331, allocations: 1.844 kB / 0.5248 GB, free: 15.74 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001054/0.3332, allocations: 127.1 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.3332, allocations: 18.48 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.3333, allocations: 16.19 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3333, allocations: 0.7031 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3333, allocations: 4 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3333, allocations: 85.05 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3333, allocations: 1.75 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.3334, allocations: 2.203 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3334, allocations: 3.766 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000202/0.3336, allocations: 169.3 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002371/0.3339, allocations: 259.6 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.579e-05/0.3339, allocations: 15.98 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3341, allocations: 157.3 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Backend: time 8.32e-07/0.3341, allocations: 3.938 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.3354, allocations: 432 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006247/0.336, allocations: 0.6706 MB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of Templates: time 0.004304/0.3403, allocations: 1.524 MB / 0.5282 GB, free: 13.78 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches