Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.241/0.241, allocations: 44.94 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.84 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3764, allocations: 65.47 MB / 0.5575 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003369/0.3797, allocations: 1.604 MB / 0.559 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3808, allocations: 0.5417 MB / 0.5596 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.3809, allocations: 0 / 0.5596 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006723/0.3816, allocations: 455.1 kB / 0.56 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.3821, allocations: 295.3 kB / 0.5603 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.3825, allocations: 167.5 kB / 0.5604 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.3828, allocations: 167.7 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3829, allocations: 15.98 kB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3831, allocations: 111.7 kB / 0.5607 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.3834, allocations: 251.5 kB / 0.561 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3834, allocations: 4 kB / 0.561 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.3835, allocations: 23.98 kB / 0.561 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3836, allocations: 83.67 kB / 0.5611 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.3837, allocations: 67.25 kB / 0.5611 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.384, allocations: 261 kB / 0.5614 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.384, allocations: 0 / 0.5614 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.384, allocations: 0 / 0.5614 GB, free: 3.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.384, allocations: 4 kB / 0.5614 GB, free: 3.48 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.000762/0.3848, allocations: 0.5737 MB / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3848, allocations: 12.03 kB / 0.5619 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.3849, allocations: 40.66 kB / 0.562 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.3852, allocations: 238.8 kB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3852, allocations: 8.375 kB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3852, allocations: 4.375 kB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3854, allocations: 54.78 kB / 0.5623 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3854, allocations: 3.984 kB / 0.5623 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3854, allocations: 3.938 kB / 0.5623 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3854, allocations: 4 kB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.3855, allocations: 27.98 kB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.386, allocations: 328.4 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3861, allocations: 34.56 kB / 0.5627 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.3861, allocations: 16.84 kB / 0.5627 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3861, allocations: 4 kB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3862, allocations: 30.56 kB / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3862, allocations: 0 / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002869/0.3865, allocations: 109.4 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3865, allocations: 51.41 kB / 0.5629 GB, free: 1.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/0.3874, allocations: 0.8613 MB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3875, allocations: 25.7 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3876, allocations: 212 kB / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.3877, allocations: 11.95 kB / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.3877, allocations: 13.7 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3879, allocations: 362.7 kB / 0.5643 GB, free: 320 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.3879, allocations: 16.05 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.388, allocations: 12 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.388, allocations: 24.84 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3881, allocations: 3.938 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001592/0.3882, allocations: 97.39 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3882, allocations: 4 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3882, allocations: 0 / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3882, allocations: 0 / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.3883, allocations: 16.08 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3883, allocations: 0 / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.3884, allocations: 7.938 kB / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3884, allocations: 0 / 0.5645 GB, free: 128 kB / 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 (2): * Single equations (assignments): 2 * 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.0002209/0.3886, allocations: 213.7 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.3887, allocations: 47.7 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.3889, allocations: 104.7 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3889, allocations: 0 / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3889, allocations: 0 / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3889, allocations: 4.031 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3891, allocations: 237.1 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3891, allocations: 0 / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.3892, allocations: 7.984 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3892, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3892, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3892, allocations: 8 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3892, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3894, allocations: 199.1 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.3895, allocations: 35.75 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3895, allocations: 0 / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.3896, allocations: 4 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.3896, allocations: 0 / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3896, allocations: 3.984 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.3902, allocations: 0.6511 MB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3902, allocations: 0 / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3905, allocations: 19.94 kB / 0.566 GB, free: 14.54 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001396/0.3919, allocations: 378.9 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.392, allocations: 27.92 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3921, allocations: 0 / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.3921, allocations: 11.98 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3925, allocations: 37.33 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3936, allocations: 0.7907 MB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3939, allocations: 216.1 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.695e-05/0.3939, allocations: 11.98 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.394, allocations: 15.42 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.394, allocations: 0 / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Templates: time 0.005198/0.3992, allocations: 1.444 MB / 0.5688 GB, free: 11.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.25488112308085]