Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0009492/0.0009492, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001107/0.001107, allocations: 173.1 kB / 24.92 MB, free: 8.762 MB / 18.57 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 0.9589/0.9589, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2376/0.2376, allocations: 32.8 MB / 294.6 MB, free: 1.172 MB / 266.7 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 323.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.469e-05, allocations: 3.156 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.006879/0.006904, allocations: 1.692 MB / 324.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.01167, allocations: 1.321 MB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.01174, allocations: 3.938 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.01197, allocations: 19.84 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.01233, allocations: 87.55 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.01277, allocations: 179.4 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.01293, allocations: 83.7 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.01302, allocations: 20.59 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.0131, allocations: 35.91 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.0132, allocations: 31.91 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.01321, allocations: 4 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.01338, allocations: 91.88 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.01344, allocations: 19.92 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.01347, allocations: 19.91 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.01369, allocations: 151.4 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.0137, allocations: 0 / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0137, allocations: 4 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.0137, allocations: 4 kB / 327 MB, free: 5.883 MB / 298.7 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.003422/0.01713, allocations: 309.5 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01716, allocations: 8.031 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.0172, allocations: 8.922 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.01736, allocations: 129.6 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.01737, allocations: 4.375 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.01739, allocations: 4.375 kB / 327.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.01754, allocations: 106.3 kB / 327.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01755, allocations: 8.125 kB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.01756, allocations: 8.125 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.01757, allocations: 0 / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.01759, allocations: 7.984 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.01787, allocations: 179 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.01794, allocations: 26.56 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.01796, allocations: 8.859 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01798, allocations: 0 / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.018, allocations: 38.5 kB / 327.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.018, allocations: 4 kB / 327.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003626/0.01836, allocations: 117.6 kB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.0184, allocations: 85.05 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.01851, allocations: 137 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.01853, allocations: 29.7 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.01857, allocations: 96.06 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.01859, allocations: 19.8 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.01863, allocations: 21.72 kB / 328.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.01872, allocations: 322.8 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.01874, allocations: 7.984 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.01878, allocations: 51.41 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.01884, allocations: 27.67 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01884, allocations: 0 / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.947e-05/0.01893, allocations: 69.53 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01894, allocations: 4 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.01895, allocations: 0 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01896, allocations: 288 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.01904, allocations: 15.98 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.01904, allocations: 0 / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.01908, allocations: 4 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.01908, allocations: 8.031 kB / 328.8 MB, free: 3.867 MB / 298.7 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 (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 prepare postOptimizeDAE: time 6.581e-05/0.01915, allocations: 112.7 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.01918, allocations: 15.91 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.01931, allocations: 70.7 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01931, allocations: 0 / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01931, allocations: 0 / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01931, allocations: 3.984 kB / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.01957, allocations: 230.8 kB / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01957, allocations: 0 / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.01963, allocations: 15.98 kB / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.01963, allocations: 7.938 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01964, allocations: 4 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.01965, allocations: 4 kB / 329.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01965, allocations: 4 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01978, allocations: 151.5 kB / 329.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.0198, allocations: 11.94 kB / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01981, allocations: 0 / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.01987, allocations: 8 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.0199, allocations: 7.984 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01991, allocations: 0 / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.347e-05/0.01995, allocations: 29.78 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01995, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.02022, allocations: 47.86 kB / 329.5 MB, free: 3.098 MB / 298.7 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.001641/0.02186, allocations: 0.6256 MB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.02198, allocations: 32.83 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.02199, allocations: 0 / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.02202, allocations: 24.8 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.02224, allocations: 31.86 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.0228, allocations: 192.1 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.833e-05/0.02284, allocations: 63.34 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.02292, allocations: 17.03 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.023, allocations: 63.36 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.023, allocations: 0 / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of Templates: time 0.004821/0.02782, allocations: 2.161 MB / 332.7 MB, free: 168 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.95601081289351]