Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 110.5 kB / 18.45 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.000993/0.000993, allocations: 191.1 kB / 19.39 MB, free: 3.688 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.238/1.238, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1877/0.1877, allocations: 44.2 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.279, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002709/0.2818, allocations: 1.56 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.2824, allocations: 400.6 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.2825, allocations: 1.094 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.2827, allocations: 20.17 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.2829, allocations: 40 kB / 0.5216 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.2832, allocations: 87.48 kB / 0.5216 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.2834, allocations: 55.91 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.2835, allocations: 11.31 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.2835, allocations: 18.67 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.2836, allocations: 24.55 kB / 0.5218 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2836, allocations: 1.625 kB / 0.5218 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.2837, allocations: 34.05 kB / 0.5218 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.2837, allocations: 10.14 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.2838, allocations: 24.38 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2839, allocations: 77.44 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.284, allocations: 4 kB / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.284, allocations: 0 / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.284, allocations: 1.125 kB / 0.5219 GB, free: 2.062 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000324/0.2843, allocations: 377 kB / 0.5223 GB, free: 1.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2843, allocations: 8.281 kB / 0.5223 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2844, allocations: 8.578 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2845, allocations: 181.7 kB / 0.5224 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.2845, allocations: 6.594 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.2845, allocations: 2.328 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.2847, allocations: 57.02 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-06/0.2847, allocations: 0 / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.2847, allocations: 1.125 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2847, allocations: 0.8438 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.2848, allocations: 21.91 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.2851, allocations: 272.2 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.2853, allocations: 48.42 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.2853, allocations: 18.34 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2853, allocations: 0 / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.2854, allocations: 36.69 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.2854, allocations: 3.984 kB / 0.5229 GB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004668/0.2858, allocations: 139.5 kB / 0.523 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.396e-05/0.2859, allocations: 51.92 kB / 0.5231 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.286, allocations: 144.8 kB / 0.5232 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.286, allocations: 29.7 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.286, allocations: 93.58 kB / 0.5233 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.286, allocations: 19.52 kB / 0.5233 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.2861, allocations: 17.92 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.2861, allocations: 327.4 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.2862, allocations: 14.48 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.2862, allocations: 18.75 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.2864, allocations: 51.45 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2864, allocations: 0 / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001466/0.2865, allocations: 76.73 kB / 0.5238 GB, free: 240 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2865, allocations: 9.594 kB / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2865, allocations: 0 / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2866, allocations: 5.734 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.2866, allocations: 11.89 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2866, allocations: 0.6094 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.2867, allocations: 5.109 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2867, allocations: 1.156 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.853e-05/0.2867, allocations: 119.9 kB / 0.524 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.2868, allocations: 11.05 kB / 0.524 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.287, allocations: 93.73 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.287, allocations: 0 / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.287, allocations: 1.875 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.287, allocations: 82.16 kB / 0.5242 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.2871, allocations: 6.25 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.2871, allocations: 5.312 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.2872, allocations: 11.92 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001993/0.2874, allocations: 157.8 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002228/0.2876, allocations: 253 kB / 0.5246 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.93e-05/0.2877, allocations: 22.59 kB / 0.5246 GB, free: 15.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.2878, allocations: 119.4 kB / 0.5247 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.2878, allocations: 4 kB / 0.5247 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.2889, allocations: 410.7 kB / 0.5251 GB, free: 15.31 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005243/0.2895, allocations: 0.6181 MB / 0.5257 GB, free: 14.7 MB / 398.1 MB Notification: Performance of Templates: time 0.003394/0.2929, allocations: 1.221 MB / 0.5269 GB, free: 14.54 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches