Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001213/0.001213, allocations: 178.3 kB / 19.37 MB, free: 3.664 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.326/1.326, 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.2016/0.2016, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001546, allocations: 67.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3498, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002767/0.3526, allocations: 1.585 MB / 0.5211 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.3534, allocations: 415.2 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.3535, allocations: 1.188 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.3538, allocations: 109.3 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3541, allocations: 82.17 kB / 0.5217 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3544, allocations: 107.8 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.3546, allocations: 75.98 kB / 0.5219 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3547, allocations: 15.31 kB / 0.5219 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.3547, allocations: 46.67 kB / 0.522 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3549, allocations: 68.33 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3549, allocations: 3.125 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.355, allocations: 48.28 kB / 0.5221 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.3551, allocations: 21.62 kB / 0.5221 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.3551, allocations: 35.16 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3553, allocations: 108.4 kB / 0.5222 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3553, allocations: 1.781 kB / 0.5222 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3553, allocations: 0 / 0.5222 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3553, allocations: 0 / 0.5222 GB, free: 1.98 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.000411/0.3557, allocations: 421.6 kB / 0.5226 GB, free: 1.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3558, allocations: 9.781 kB / 0.5226 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.3558, allocations: 10.5 kB / 0.5226 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.356, allocations: 207.9 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.356, allocations: 1.469 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.356, allocations: 2.844 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3562, allocations: 57.06 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3562, allocations: 1.641 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3562, allocations: 0 / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.3562, allocations: 1.062 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3563, allocations: 29.59 kB / 0.5229 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.3567, allocations: 317.4 kB / 0.5232 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3568, allocations: 48.88 kB / 0.5233 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.3569, allocations: 23.33 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3569, allocations: 5.281 kB / 0.5233 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3569, allocations: 36.88 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3569, allocations: 0 / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008812/0.3578, allocations: 238.2 kB / 0.5236 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.3579, allocations: 57.27 kB / 0.5236 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3581, allocations: 243.9 kB / 0.5239 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.3581, allocations: 25.7 kB / 0.5239 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.3581, allocations: 114.5 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3582, allocations: 30.44 kB / 0.524 GB, free: 436 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3582, allocations: 21.05 kB / 0.524 GB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.3583, allocations: 327.6 kB / 0.5244 GB, free: 88 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.3584, allocations: 33.34 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.3584, allocations: 27.08 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3586, allocations: 71.81 kB / 0.5245 GB, free: 44 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3586, allocations: 0 / 0.5245 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002462/0.3589, allocations: 114 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3589, allocations: 8.031 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3589, allocations: 0.5156 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3589, allocations: 5.156 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.359, allocations: 17.31 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.359, allocations: 5 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.3591, allocations: 5.172 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3591, allocations: 2.219 kB / 0.5246 GB, free: 15.98 MB / 398.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.0001114/0.3592, allocations: 131.6 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.3593, allocations: 14.16 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.3596, allocations: 141.1 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3596, allocations: 0 / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3596, allocations: 6.984 kB / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3596, allocations: 0 / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.3602, allocations: 410.9 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3602, allocations: 9.828 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.3603, allocations: 24.19 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3603, allocations: 1.406 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3603, allocations: 6.141 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3603, allocations: 1.594 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3603, allocations: 1.312 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.3606, allocations: 221.6 kB / 0.5256 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.3606, allocations: 96.94 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3607, allocations: 2.422 kB / 0.5257 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.3607, allocations: 5.406 kB / 0.5257 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3608, allocations: 5.781 kB / 0.5257 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3608, allocations: 2.469 kB / 0.5257 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.361, allocations: 187.9 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.361, allocations: 0 / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3612, allocations: 24.14 kB / 0.5259 GB, free: 15 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.001032/0.3623, allocations: 455.5 kB / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3625, allocations: 78.98 kB / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3625, allocations: 4 kB / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/0.3626, allocations: 42.83 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.363, allocations: 21.48 kB / 0.5264 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.3636, allocations: 313.2 kB / 0.5267 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.364, allocations: 0.7222 MB / 0.5274 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.364, allocations: 15.2 kB / 0.5275 GB, free: 13.81 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.364, allocations: 0 / 0.5275 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Templates: time 0.004443/0.3685, allocations: 1.836 MB / 0.5293 GB, free: 13.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches