Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.001986/0.001986, 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.355/1.355, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2027/0.2027, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3195, allocations: 60.82 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00286/0.3224, allocations: 1.715 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3236, allocations: 0.8751 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.3237, allocations: 1.062 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.324, allocations: 34.62 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.3242, allocations: 56.03 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.3245, allocations: 117.8 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3247, allocations: 91.94 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.3248, allocations: 11.06 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.509e-05/0.3249, allocations: 49.7 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.3249, allocations: 26.39 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.325, allocations: 3.656 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.3251, allocations: 42.83 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.3251, allocations: 22.5 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.3252, allocations: 37.48 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3254, allocations: 111.8 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3254, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3254, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3254, allocations: 0.9062 kB / 0.5228 GB, free: 1.547 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.000492/0.3259, allocations: 408.1 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.326, allocations: 8.906 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.326, allocations: 11.06 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3263, allocations: 206 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3263, allocations: 1.719 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3263, allocations: 6.562 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3265, allocations: 59.3 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3265, allocations: 3.906 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3265, allocations: 4 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3265, allocations: 5.5 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.3266, allocations: 17.62 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.327, allocations: 287 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3272, allocations: 60.03 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.3273, allocations: 24.11 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3273, allocations: 1.125 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.3274, allocations: 70.81 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3274, allocations: 0 / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.3279, allocations: 171.4 kB / 0.524 GB, free: 384 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.328, allocations: 56.98 kB / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3281, allocations: 190.7 kB / 0.5243 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3282, allocations: 35.67 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.3282, allocations: 98.16 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.3282, allocations: 26.11 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3283, allocations: 22.48 kB / 0.5245 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3284, allocations: 326.5 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.3285, allocations: 22.16 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.3286, allocations: 38.02 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3287, allocations: 65.78 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3287, allocations: 1.156 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.3289, allocations: 96.39 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.329, allocations: 6.109 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.329, allocations: 1.375 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.329, allocations: 1.375 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.3291, allocations: 15.05 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.3291, allocations: 9.703 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.3292, allocations: 6.906 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3292, allocations: 7.156 kB / 0.525 GB, free: 15.54 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.0001232/0.3293, allocations: 129.4 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.3294, allocations: 11.88 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.3294, allocations: 16.23 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3294, allocations: 0.6094 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3294, allocations: 1.562 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.3295, allocations: 83.75 kB / 0.5253 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.3295, allocations: 13.88 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.3296, allocations: 4.297 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.3296, allocations: 8.172 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000245/0.3299, allocations: 174 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002763/0.3301, allocations: 279.3 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.613e-05/0.3302, allocations: 27.34 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3303, allocations: 146.1 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of Backend: time 3.5e-07/0.3303, allocations: 0 / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.3318, allocations: 489.4 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006348/0.3324, allocations: 0.6666 MB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004748/0.3372, allocations: 1.759 MB / 0.5287 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches