Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.001588/0.001588, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2148/0.2148, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3681, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002586/0.3707, allocations: 1.576 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00067/0.3714, allocations: 410.3 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.3715, allocations: 5.25 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3718, allocations: 67.88 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.372, allocations: 67.44 kB / 0.521 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.3722, allocations: 85.06 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3724, allocations: 77.89 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3725, allocations: 14.5 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.3726, allocations: 38.42 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3727, allocations: 52.62 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3727, allocations: 4.094 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.3728, allocations: 43.05 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.3729, allocations: 23.83 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3729, allocations: 29.41 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.3731, allocations: 99.47 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3731, allocations: 0.7969 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3731, allocations: 0 / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3731, allocations: 9.031 kB / 0.5215 GB, free: 2 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.0003754/0.3735, allocations: 401.2 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3735, allocations: 9.188 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.3736, allocations: 8.906 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.3737, allocations: 194.5 kB / 0.522 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3738, allocations: 9.625 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.3738, allocations: 2.469 kB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3739, allocations: 52.88 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.374, allocations: 4.562 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.374, allocations: 5.031 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.374, allocations: 1.031 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3741, allocations: 24.86 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3744, allocations: 298 kB / 0.5224 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.3745, allocations: 42.86 kB / 0.5225 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.3746, allocations: 18.83 kB / 0.5225 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3746, allocations: 0.7031 kB / 0.5225 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.3746, allocations: 32.45 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3746, allocations: 3.938 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008975/0.3755, allocations: 227 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.3756, allocations: 53.45 kB / 0.5228 GB, free: 0.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3758, allocations: 213.1 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.3758, allocations: 30.67 kB / 0.523 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.3758, allocations: 105.6 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3759, allocations: 24.11 kB / 0.5231 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.3759, allocations: 26.25 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.376, allocations: 329.6 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.376, allocations: 21.7 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.3761, allocations: 22.97 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3762, allocations: 60.47 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3763, allocations: 0 / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001868/0.3764, allocations: 100.7 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3765, allocations: 9.875 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3765, allocations: 0 / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3765, allocations: 3.938 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.3766, allocations: 18.06 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3766, allocations: 3.938 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.3767, allocations: 5.344 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.3767, allocations: 6.25 kB / 0.5237 GB, free: 52 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.0001014/0.3768, allocations: 123.5 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3768, allocations: 16.36 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3771, allocations: 122.8 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3771, allocations: 1.469 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3771, allocations: 3.938 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3771, allocations: 2.031 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.3777, allocations: 407.4 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3777, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.3778, allocations: 21.14 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3778, allocations: 2.703 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3778, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.3778, allocations: 2.672 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3778, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3781, allocations: 207.2 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.3781, allocations: 92.66 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3782, allocations: 2.281 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.3782, allocations: 8.438 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.3783, allocations: 5.594 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3783, allocations: 6.969 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3784, allocations: 156.2 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3784, allocations: 0 / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.3787, allocations: 26.73 kB / 0.5249 GB, free: 15.1 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.001044/0.3798, allocations: 449.9 kB / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.38, allocations: 72.39 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.38, allocations: 0 / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3801, allocations: 33.73 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3805, allocations: 25.45 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.381, allocations: 247.7 kB / 0.5257 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3813, allocations: 0.7095 MB / 0.5264 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.3813, allocations: 13.95 kB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.3814, allocations: 13.59 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.944e-06/0.3814, allocations: 1.375 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.004111/0.3855, allocations: 1.352 MB / 0.5277 GB, free: 13.58 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches