Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 112.8 kB / 18.46 MB, free: 4.617 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.001206/0.001206, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.339/1.339, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2284/0.2284, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3121, allocations: 60.82 MB / 0.5197 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002534/0.3146, allocations: 1.708 MB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3158, allocations: 0.8804 MB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.3159, allocations: 1.031 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.3161, allocations: 47.17 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.3163, allocations: 60.16 kB / 0.5223 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.3166, allocations: 116.8 kB / 0.5224 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3167, allocations: 92.11 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.3168, allocations: 16.42 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.3169, allocations: 45.12 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.317, allocations: 31.14 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.317, allocations: 3.281 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.3171, allocations: 43.2 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.3172, allocations: 31.38 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.3172, allocations: 43.5 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.3174, allocations: 124.3 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3174, allocations: 0 / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3174, allocations: 1.031 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3175, allocations: 0 / 0.5228 GB, free: 1.543 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.0004506/0.3179, allocations: 443.8 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.318, allocations: 9.938 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.318, allocations: 14.72 kB / 0.5233 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3182, allocations: 222.9 kB / 0.5235 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3182, allocations: 1.875 kB / 0.5235 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.3182, allocations: 11.7 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3184, allocations: 49.22 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3184, allocations: 0 / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3184, allocations: 6.156 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3184, allocations: 4 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.3185, allocations: 19.3 kB / 0.5236 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.3188, allocations: 296.8 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.3189, allocations: 51.8 kB / 0.5239 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.319, allocations: 21.16 kB / 0.5239 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.319, allocations: 5.5 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.3192, allocations: 65 kB / 0.524 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3192, allocations: 4.75 kB / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004786/0.3197, allocations: 186.2 kB / 0.5242 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.3197, allocations: 56.47 kB / 0.5242 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3199, allocations: 259.9 kB / 0.5245 GB, free: 124 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.3199, allocations: 30.5 kB / 0.5245 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.32, allocations: 118.5 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.32, allocations: 26.55 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.3201, allocations: 24.89 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3202, allocations: 329.2 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.3203, allocations: 21.56 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.3204, allocations: 35.7 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.3205, allocations: 62.12 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3205, allocations: 0 / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.3207, allocations: 102.8 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3207, allocations: 6.016 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3207, allocations: 0 / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3207, allocations: 1.812 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.3208, allocations: 19.16 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3208, allocations: 1.344 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.3209, allocations: 7.672 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3209, allocations: 14.44 kB / 0.5252 GB, free: 15.46 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.0001037/0.321, allocations: 132.9 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.321, allocations: 16.69 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.3211, allocations: 18.86 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3211, allocations: 0 / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3211, allocations: 0 / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.3211, allocations: 92.62 kB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3212, allocations: 4.734 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.3212, allocations: 11.66 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.3213, allocations: 4.219 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002174/0.3215, allocations: 173 kB / 0.5257 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002502/0.3217, allocations: 281.9 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.665e-05/0.3218, allocations: 29.48 kB / 0.526 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.322, allocations: 207.7 kB / 0.5262 GB, free: 14.71 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.322, allocations: 1.312 kB / 0.5262 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3234, allocations: 0.5022 MB / 0.5266 GB, free: 14.5 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006624/0.3241, allocations: 0.7086 MB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.004513/0.3286, allocations: 1.786 MB / 0.5291 GB, free: 13.29 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches