Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001057/0.001057, allocations: 191.2 kB / 19.39 MB, free: 3.707 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.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.187/0.187, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.89 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3467, allocations: 60.82 MB / 0.5197 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002638/0.3493, allocations: 1.712 MB / 0.5213 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3506, allocations: 0.8707 MB / 0.5222 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3507, allocations: 1.219 kB / 0.5222 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.351, allocations: 74.94 kB / 0.5223 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.3512, allocations: 86.17 kB / 0.5223 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3515, allocations: 105.8 kB / 0.5224 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3517, allocations: 108.3 kB / 0.5225 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.3518, allocations: 15.31 kB / 0.5226 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.429e-05/0.3519, allocations: 50.52 kB / 0.5226 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.352, allocations: 54.19 kB / 0.5227 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.352, allocations: 3.438 kB / 0.5227 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3521, allocations: 47.33 kB / 0.5227 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.3522, allocations: 24.42 kB / 0.5227 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.3523, allocations: 37 kB / 0.5228 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.3525, allocations: 123.8 kB / 0.5229 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3525, allocations: 0 / 0.5229 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3525, allocations: 1.719 kB / 0.5229 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3525, allocations: 0 / 0.5229 GB, free: 1.785 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004151/0.3529, allocations: 420.7 kB / 0.5233 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3529, allocations: 9.781 kB / 0.5233 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.353, allocations: 17.7 kB / 0.5233 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.3532, allocations: 208.1 kB / 0.5235 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3532, allocations: 2.875 kB / 0.5235 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.3533, allocations: 14.08 kB / 0.5235 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3534, allocations: 53.33 kB / 0.5236 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3534, allocations: 1.156 kB / 0.5236 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.3534, allocations: 4.703 kB / 0.5236 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3534, allocations: 1.062 kB / 0.5236 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.3535, allocations: 17.67 kB / 0.5236 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.3538, allocations: 296.8 kB / 0.5239 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.354, allocations: 60.62 kB / 0.5239 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.354, allocations: 24.23 kB / 0.524 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.354, allocations: 2.047 kB / 0.524 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.3542, allocations: 77.08 kB / 0.524 GB, free: 0.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.106e-05/0.3542, allocations: 0 / 0.524 GB, free: 0.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004946/0.3547, allocations: 172.8 kB / 0.5242 GB, free: 0.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.605e-05/0.3547, allocations: 53.22 kB / 0.5243 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3549, allocations: 211.1 kB / 0.5245 GB, free: 396 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3549, allocations: 30.41 kB / 0.5245 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.3549, allocations: 100.3 kB / 0.5246 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.355, allocations: 30.89 kB / 0.5246 GB, free: 240 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.355, allocations: 26.31 kB / 0.5246 GB, free: 216 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.3551, allocations: 326.2 kB / 0.5249 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.3552, allocations: 22.64 kB / 0.525 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.3553, allocations: 38.72 kB / 0.525 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3554, allocations: 58.03 kB / 0.5251 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3554, allocations: 4 kB / 0.5251 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.3556, allocations: 105.6 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3556, allocations: 6.406 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3556, allocations: 0 / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3556, allocations: 1 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.3557, allocations: 16.98 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3557, allocations: 0 / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.3558, allocations: 3.906 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3558, allocations: 10.59 kB / 0.5252 GB, free: 15.75 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 (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 0.0001017/0.3559, allocations: 131.4 kB / 0.5253 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.3559, allocations: 15.5 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.356, allocations: 17.16 kB / 0.5254 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.356, allocations: 0.7969 kB / 0.5254 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.356, allocations: 0 / 0.5254 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.356, allocations: 84.41 kB / 0.5254 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3561, allocations: 10.5 kB / 0.5254 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.3561, allocations: 2.609 kB / 0.5255 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.3562, allocations: 5.891 kB / 0.5255 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002214/0.3564, allocations: 177.7 kB / 0.5256 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00025/0.3566, allocations: 279.7 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.605e-05/0.3567, allocations: 25.73 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3569, allocations: 161.5 kB / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of Backend: time 2.11e-07/0.3569, allocations: 0 / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.3582, allocations: 0.489 MB / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006438/0.3589, allocations: 0.6926 MB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of Templates: time 0.004411/0.3633, allocations: 1.76 MB / 0.5289 GB, free: 13.55 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches