Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001227/0.001227, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.33/1.33, allocations: 222.9 MB / 242.4 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.1953/0.1953, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3743, allocations: 60.8 MB / 0.5189 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002929/0.3773, allocations: 1.661 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007472/0.3781, allocations: 442.2 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.3782, allocations: 1.406 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3785, allocations: 79.05 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.3787, allocations: 59.86 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.3791, allocations: 175.8 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.3793, allocations: 90.97 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3794, allocations: 25.36 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.3795, allocations: 39.78 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3796, allocations: 53.73 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3796, allocations: 2.781 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3797, allocations: 44.22 kB / 0.5215 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.3798, allocations: 31.09 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.3799, allocations: 32 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3801, allocations: 115.5 kB / 0.5217 GB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3801, allocations: 0.7031 kB / 0.5217 GB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3801, allocations: 4 kB / 0.5217 GB, free: 1.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3801, allocations: 0 / 0.5217 GB, free: 1.887 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005158/0.3806, allocations: 427.3 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3807, allocations: 8.969 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.3807, allocations: 11.11 kB / 0.5221 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3809, allocations: 201.8 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.381, allocations: 6.797 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.381, allocations: 3.812 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.3812, allocations: 70.73 kB / 0.5224 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3812, allocations: 1.188 kB / 0.5224 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3812, allocations: 4 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3813, allocations: 1.188 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3814, allocations: 42.64 kB / 0.5224 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.3819, allocations: 327.8 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3821, allocations: 60.55 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.019e-05/0.3822, allocations: 26.69 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3823, allocations: 5.062 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3823, allocations: 36.73 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3823, allocations: 0 / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001412/0.3837, allocations: 418.9 kB / 0.5233 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.3838, allocations: 60.94 kB / 0.5233 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3839, allocations: 203.7 kB / 0.5235 GB, free: 464 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.384, allocations: 25.7 kB / 0.5235 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.384, allocations: 109.2 kB / 0.5236 GB, free: 328 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.3841, allocations: 39.42 kB / 0.5237 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3841, allocations: 27.11 kB / 0.5237 GB, free: 272 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.3842, allocations: 327.7 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3843, allocations: 52.22 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3845, allocations: 54.61 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.3848, allocations: 127.1 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3848, allocations: 0 / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003593/0.3852, allocations: 166.3 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3852, allocations: 6.047 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3852, allocations: 0 / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3852, allocations: 1.125 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3854, allocations: 37.05 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3854, allocations: 5.156 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.3854, allocations: 13.66 kB / 0.5245 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3855, allocations: 2.812 kB / 0.5245 GB, free: 15.78 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 (11): * Single equations (assignments): 11 * 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.0001137/0.3856, allocations: 134 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.3856, allocations: 13.89 kB / 0.5246 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.386, allocations: 196.6 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3861, allocations: 5.531 kB / 0.5248 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3861, allocations: 0.5625 kB / 0.5248 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3861, allocations: 0.6562 kB / 0.5248 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.3868, allocations: 0.5019 MB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3868, allocations: 1.875 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.3869, allocations: 33.03 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3869, allocations: 1.781 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.387, allocations: 2.438 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.387, allocations: 0 / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.387, allocations: 1.812 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.3873, allocations: 271.3 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.3874, allocations: 89.73 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3874, allocations: 9.828 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.3875, allocations: 8.734 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3876, allocations: 13.2 kB / 0.5257 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3876, allocations: 6.75 kB / 0.5257 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.3877, allocations: 152.4 kB / 0.5258 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 1.375 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.388, allocations: 27.45 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001031/0.389, allocations: 460.3 kB / 0.5263 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.3894, allocations: 130.9 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3894, allocations: 0 / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3896, allocations: 74.7 kB / 0.5265 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.39, allocations: 29.81 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.3905, allocations: 319.7 kB / 0.5268 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3909, allocations: 0.7217 MB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.323e-05/0.391, allocations: 33.52 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.391, allocations: 14.91 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.391, allocations: 0 / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004855/0.3959, allocations: 1.632 MB / 0.5292 GB, free: 12.77 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches