Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 201.2 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4572, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00307/0.4603, allocations: 1.591 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.4613, allocations: 0.5668 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.4614, allocations: 3.938 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.4617, allocations: 25.36 kB / 0.5331 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.462, allocations: 78.98 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.4623, allocations: 118.8 kB / 0.5333 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.4624, allocations: 64.72 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4626, allocations: 18.84 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.4626, allocations: 25.55 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.4627, allocations: 33.42 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.4627, allocations: 8.109 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.4629, allocations: 97.56 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.463, allocations: 16.05 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.463, allocations: 25.36 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.4633, allocations: 149.6 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4633, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4634, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4634, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005464/0.4639, allocations: 408.9 kB / 0.5341 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.464, allocations: 9.625 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.464, allocations: 13 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.4642, allocations: 195.7 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4643, allocations: 5.688 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4643, allocations: 1.75 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4645, allocations: 68.89 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4645, allocations: 0 / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4645, allocations: 5.406 kB / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4645, allocations: 0 / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.311e-05/0.4646, allocations: 25.62 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.4651, allocations: 295.9 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.4652, allocations: 46.28 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.4653, allocations: 28.62 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4653, allocations: 4.984 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4653, allocations: 39.41 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.4653, allocations: 0 / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006929/0.466, allocations: 178 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.4661, allocations: 82.2 kB / 0.5351 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4663, allocations: 159.5 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4663, allocations: 25.7 kB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.4664, allocations: 91.27 kB / 0.5354 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4664, allocations: 27.09 kB / 0.5354 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.4665, allocations: 24.44 kB / 0.5354 GB, free: 9.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4666, allocations: 325 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.4667, allocations: 28.27 kB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.65e-05/0.4668, allocations: 45.69 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.467, allocations: 76.7 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.467, allocations: 0 / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002253/0.4673, allocations: 104 kB / 0.536 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4673, allocations: 11.97 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4673, allocations: 4.031 kB / 0.536 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4673, allocations: 1.219 kB / 0.536 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4674, allocations: 21.73 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4674, allocations: 0 / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.4675, allocations: 12.48 kB / 0.536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4675, allocations: 5 kB / 0.536 GB, free: 9.348 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 8.959e-05/0.4676, allocations: 115.1 kB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.4676, allocations: 8.047 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.4679, allocations: 116.3 kB / 0.5362 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4679, allocations: 1.031 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.468, allocations: 3.984 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.468, allocations: 1.312 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.4685, allocations: 394 kB / 0.5366 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4685, allocations: 3.938 kB / 0.5366 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.4686, allocations: 24.33 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4686, allocations: 1.188 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4686, allocations: 3.938 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4686, allocations: 1.062 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4686, allocations: 0 / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.4689, allocations: 199.2 kB / 0.5369 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.4689, allocations: 86.22 kB / 0.5369 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.469, allocations: 9.375 kB / 0.5369 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.469, allocations: 3.969 kB / 0.5369 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.4691, allocations: 7.016 kB / 0.537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4691, allocations: 1.375 kB / 0.537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.4692, allocations: 118.7 kB / 0.5371 GB, free: 8.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4692, allocations: 3.938 kB / 0.5371 GB, free: 8.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.4695, allocations: 42.22 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001182/0.4707, allocations: 0.4924 MB / 0.5376 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.471, allocations: 70.62 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.471, allocations: 0 / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.4711, allocations: 41.44 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4714, allocations: 15.64 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.4719, allocations: 191.2 kB / 0.5379 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4722, allocations: 0.6961 MB / 0.5386 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.708e-05/0.4723, allocations: 22.2 kB / 0.5386 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.4723, allocations: 22.48 kB / 0.5386 GB, free: 7.133 MB / 398.1 MB Notification: Performance of SimCode: time 5.019e-06/0.4723, allocations: 4.844 kB / 0.5386 GB, free: 7.129 MB / 398.1 MB Notification: Performance of Templates: time 0.005131/0.4775, allocations: 1.95 MB / 0.5405 GB, free: 6.117 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches