Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.00127/0.00127, allocations: 181.2 kB / 19.38 MB, free: 3.727 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.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2039/0.2039, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3768, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002796/0.3797, allocations: 1.591 MB / 0.5211 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.3804, allocations: 410 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.3805, allocations: 1.094 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.3808, allocations: 73.72 kB / 0.5216 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.3811, allocations: 67.69 kB / 0.5217 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3814, allocations: 103.2 kB / 0.5218 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3816, allocations: 81.66 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3817, allocations: 19.84 kB / 0.5219 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.3818, allocations: 33.67 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3819, allocations: 54.81 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3819, allocations: 3.25 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.382, allocations: 47.47 kB / 0.522 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.3821, allocations: 23.17 kB / 0.522 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.3821, allocations: 29.78 kB / 0.522 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3824, allocations: 100.3 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3824, allocations: 0 / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3824, allocations: 1 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.3824, allocations: 0 / 0.5221 GB, free: 1.996 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.0004161/0.3828, allocations: 402.1 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3829, allocations: 9.062 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3829, allocations: 17.25 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3831, allocations: 194 kB / 0.5227 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3831, allocations: 9.469 kB / 0.5227 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.3831, allocations: 3.672 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3833, allocations: 56.8 kB / 0.5228 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3833, allocations: 1.094 kB / 0.5228 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3833, allocations: 0 / 0.5228 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3833, allocations: 2 kB / 0.5228 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3834, allocations: 26.06 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3838, allocations: 304.3 kB / 0.5231 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.384, allocations: 49.5 kB / 0.5232 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.384, allocations: 23.52 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3841, allocations: 1.688 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.3841, allocations: 36.42 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3841, allocations: 0 / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000926/0.385, allocations: 230.8 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.3851, allocations: 52.56 kB / 0.5235 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3853, allocations: 214.2 kB / 0.5237 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3853, allocations: 29.7 kB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.3853, allocations: 112.6 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3854, allocations: 25.17 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.3854, allocations: 20.73 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.3855, allocations: 323.8 kB / 0.5242 GB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.3856, allocations: 29.12 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.3857, allocations: 39.72 kB / 0.5243 GB, free: 128 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3858, allocations: 71.42 kB / 0.5243 GB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3858, allocations: 0 / 0.5243 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002112/0.3861, allocations: 109.6 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3861, allocations: 8.562 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3861, allocations: 0 / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3861, allocations: 2.656 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3862, allocations: 20.28 kB / 0.5245 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3862, allocations: 12 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.3863, allocations: 6.141 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3863, allocations: 6.375 kB / 0.5245 GB, free: 20 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 (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.000112/0.3864, allocations: 123.2 kB / 0.5246 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3865, allocations: 9 kB / 0.5246 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.3868, allocations: 131.1 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3868, allocations: 5.25 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3868, allocations: 3.938 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3868, allocations: 2.125 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.3874, allocations: 416.1 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3874, allocations: 1.594 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.3875, allocations: 20.84 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3875, allocations: 0 / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3875, allocations: 6.641 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3875, allocations: 1.25 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3875, allocations: 3.984 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3878, allocations: 214.8 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.3879, allocations: 92.7 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.3879, allocations: 2.016 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.388, allocations: 11.94 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.388, allocations: 6.875 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.388, allocations: 2.531 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3882, allocations: 160.2 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3882, allocations: 0 / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3884, allocations: 23.62 kB / 0.5257 GB, free: 15.07 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.001011/0.3895, allocations: 453.8 kB / 0.5261 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3897, allocations: 80.73 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3897, allocations: 0 / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.3898, allocations: 46.95 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3902, allocations: 18.17 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.3907, allocations: 290.9 kB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3911, allocations: 0.7121 MB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.3911, allocations: 14.61 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3911, allocations: 0 / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.00372/0.3948, allocations: 1.765 MB / 0.5289 GB, free: 13.26 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches