Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 111.3 kB / 18.45 MB, free: 4.621 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.001135/0.001135, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.252/1.252, 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.1945/0.1945, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3507, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002756/0.3535, allocations: 1.592 MB / 0.5211 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.3542, allocations: 413.6 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.3543, allocations: 1.125 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.3546, allocations: 89.59 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.3549, allocations: 78.11 kB / 0.5217 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.3552, allocations: 105.2 kB / 0.5218 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3554, allocations: 74.81 kB / 0.5219 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3555, allocations: 19.94 kB / 0.5219 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.3555, allocations: 38.05 kB / 0.5219 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3557, allocations: 54.55 kB / 0.522 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3557, allocations: 3.344 kB / 0.522 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3558, allocations: 39.55 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.3559, allocations: 20.27 kB / 0.522 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3559, allocations: 31.12 kB / 0.5221 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3561, allocations: 114.6 kB / 0.5222 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3561, allocations: 0 / 0.5222 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3561, allocations: 0 / 0.5222 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3561, allocations: 0 / 0.5222 GB, free: 1.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004278/0.3566, allocations: 411.8 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3566, allocations: 14 kB / 0.5226 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.3567, allocations: 13.8 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3568, allocations: 200.1 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3568, allocations: 1.562 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3569, allocations: 2.5 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.357, allocations: 61.66 kB / 0.5228 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.357, allocations: 4.594 kB / 0.5229 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.357, allocations: 5.188 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.357, allocations: 0 / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3571, allocations: 27.16 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.3575, allocations: 306 kB / 0.5232 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3576, allocations: 45.09 kB / 0.5232 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.3577, allocations: 23.66 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3577, allocations: 1.688 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3577, allocations: 31.08 kB / 0.5233 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3577, allocations: 0 / 0.5233 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008835/0.3586, allocations: 240.4 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.3587, allocations: 52.56 kB / 0.5236 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3589, allocations: 228.4 kB / 0.5238 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.3589, allocations: 26.83 kB / 0.5238 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3589, allocations: 109.2 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.359, allocations: 25.86 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.359, allocations: 24.92 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.3591, allocations: 327.2 kB / 0.5243 GB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.3592, allocations: 29.3 kB / 0.5243 GB, free: 120 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.3592, allocations: 31.27 kB / 0.5243 GB, free: 112 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3594, allocations: 77.03 kB / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3594, allocations: 0 / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002064/0.3596, allocations: 111.8 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3596, allocations: 10.16 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3596, allocations: 0.7969 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3597, allocations: 5.125 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.3598, allocations: 16.41 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3598, allocations: 4.828 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3598, allocations: 5.406 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3598, allocations: 9.781 kB / 0.5245 GB, free: 0 / 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 (8): * Single equations (assignments): 8 * 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.0001174/0.36, allocations: 125.1 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.36, allocations: 23.25 kB / 0.5247 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.3603, allocations: 136.1 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3603, allocations: 1.844 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3604, allocations: 3.938 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3604, allocations: 0.6562 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.3609, allocations: 414.6 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3609, allocations: 4.641 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.361, allocations: 24.91 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.361, allocations: 1.562 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.361, allocations: 5.531 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.361, allocations: 0.6094 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.361, allocations: 1.344 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3613, allocations: 206.4 kB / 0.5255 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3613, allocations: 96.77 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3614, allocations: 2.062 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.3614, allocations: 4.344 kB / 0.5256 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3615, allocations: 9.609 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3615, allocations: 7.375 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3616, allocations: 173.5 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3616, allocations: 0 / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3619, allocations: 23.42 kB / 0.5258 GB, free: 15.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00101/0.3629, allocations: 460.7 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3632, allocations: 79.53 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3632, allocations: 0 / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.3633, allocations: 38.09 kB / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3636, allocations: 26.75 kB / 0.5263 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.3641, allocations: 304.4 kB / 0.5266 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.3644, allocations: 0.7193 MB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3644, allocations: 14.88 kB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3644, allocations: 0 / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Templates: time 0.003614/0.3681, allocations: 1.795 MB / 0.5291 GB, free: 13.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches