Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001323/0.001323, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001076/0.001076, allocations: 166.7 kB / 24.91 MB, free: 9.152 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 1.022/1.022, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2586/0.2586, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.871e-05, allocations: 5.438 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002109/0.002127, allocations: 1.732 MB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.002872, allocations: 0.5607 MB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.002924, allocations: 4 kB / 327.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.003174, allocations: 99.61 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003412, allocations: 111.5 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.003644, allocations: 115.6 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.00378, allocations: 104.4 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/0.003868, allocations: 19.92 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.003933, allocations: 55.88 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.004012, allocations: 55.86 kB / 328.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.004025, allocations: 4 kB / 328.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.004102, allocations: 47.92 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.004142, allocations: 23.92 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.004169, allocations: 23.86 kB / 328.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.004308, allocations: 111.5 kB / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.004309, allocations: 0 / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.00431, allocations: 4 kB / 328.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.004313, allocations: 4 kB / 328.4 MB, free: 4.559 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003043/0.004618, allocations: 337.5 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.004646, allocations: 8.031 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.004674, allocations: 12.94 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.004794, allocations: 149.5 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.004801, allocations: 4.875 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.004821, allocations: 8.359 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.004909, allocations: 74.94 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.004917, allocations: 192 / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.004924, allocations: 8.125 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004929, allocations: 0 / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.004956, allocations: 19.92 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.005191, allocations: 203 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.005246, allocations: 42.55 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.005266, allocations: 20.73 kB / 329.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.005281, allocations: 7.984 kB / 329.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.005298, allocations: 30.56 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.005299, allocations: 0 / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004341/0.005733, allocations: 202 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.005759, allocations: 55.41 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.005865, allocations: 197 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005875, allocations: 25.7 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.005908, allocations: 104 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.005936, allocations: 43.62 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.005968, allocations: 25.72 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.006047, allocations: 330.7 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.006065, allocations: 11.98 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.006081, allocations: 12.75 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.00613, allocations: 49.02 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006132, allocations: 4 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.61e-05/0.006209, allocations: 72.91 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.00622, allocations: 8 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006224, allocations: 4.172 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006236, allocations: 0 / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.006304, allocations: 23.98 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006308, allocations: 3.984 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.006328, allocations: 8 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006334, allocations: 4 kB / 330.4 MB, free: 2.332 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 (13): * Single equations (assignments): 13 * 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 5.788e-05/0.006392, allocations: 120.6 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.006412, allocations: 7.984 kB / 330.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.006538, allocations: 103 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006541, allocations: 0 / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006543, allocations: 4 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006545, allocations: 0 / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.006806, allocations: 300 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006808, allocations: 0 / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.006856, allocations: 31.95 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006859, allocations: 4 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.006864, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006866, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.006868, allocations: 3.938 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.006973, allocations: 177.4 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.006983, allocations: 15.91 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.006994, allocations: 4 kB / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.007028, allocations: 4 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.007054, allocations: 11.92 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.007059, allocations: 7.984 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.007105, allocations: 77.47 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007105, allocations: 0 / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.007245, allocations: 20 kB / 331.3 MB, free: 1.391 MB / 298.7 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 (13): * Single equations (assignments): 13 * 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.001289/0.008533, allocations: 0.5734 MB / 331.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.008629, allocations: 60.7 kB / 331.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.008633, allocations: 0 / 331.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.008663, allocations: 32.78 kB / 332 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.008818, allocations: 29.92 kB / 332 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.009136, allocations: 274.4 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.009177, allocations: 75.33 kB / 332.3 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.009218, allocations: 20.55 kB / 332.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.009277, allocations: 67.36 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009277, allocations: 0 / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of Templates: time 0.00315/0.01243, allocations: 1.748 MB / 334.2 MB, free: 14.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.953486403916031]