Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001299/0.001299, allocations: 80.8 kB / 21.5 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.00108/0.00108, allocations: 171.9 kB / 24.91 MB, free: 8.773 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.9967/0.9967, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.2403/0.2403, allocations: 32.8 MB / 294.6 MB, free: 1.137 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.168e-05, allocations: 2.969 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00542/0.005432, allocations: 1.693 MB / 325 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.006226, allocations: 0.5529 MB / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.00626, allocations: 0 / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.006431, allocations: 75.7 kB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.006615, allocations: 95.52 kB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.00682, allocations: 111.7 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.006931, allocations: 83.75 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.006983, allocations: 19.98 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.007038, allocations: 43.83 kB / 326 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.007105, allocations: 39.95 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.007114, allocations: 3.938 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.007185, allocations: 51.91 kB / 326.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.007214, allocations: 19.92 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.007232, allocations: 11.94 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.007355, allocations: 91.59 kB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.007357, allocations: 4 kB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007358, allocations: 4 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.334e-06/0.00736, allocations: 0 / 326.2 MB, free: 6.746 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.003252/0.01061, allocations: 309.4 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.343e-05/0.01064, allocations: 8.031 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.01066, allocations: 16.92 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.01076, allocations: 137.6 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.01077, allocations: 4.312 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.01078, allocations: 8.375 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.682e-05/0.01085, allocations: 58.92 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.01085, allocations: 192 / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.01086, allocations: 12.12 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-06/0.01086, allocations: 0 / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.01089, allocations: 8 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.01107, allocations: 171.7 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.01111, allocations: 37.33 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.01113, allocations: 8.859 kB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.01114, allocations: 4 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.01115, allocations: 34.5 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.01115, allocations: 0 / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003708/0.01153, allocations: 149.9 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.01155, allocations: 55.41 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.01166, allocations: 178.1 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.01167, allocations: 29.69 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.0117, allocations: 92.12 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.01173, allocations: 31.72 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.01176, allocations: 17.72 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.01184, allocations: 326.8 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.01186, allocations: 4 kB / 327.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.01187, allocations: 15.98 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.01191, allocations: 27.67 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.01191, allocations: 0 / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.867e-05/0.01198, allocations: 61.64 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.01199, allocations: 4 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.01199, allocations: 7.938 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.012, allocations: 3.984 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.01206, allocations: 19.98 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.01206, allocations: 0 / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.01208, allocations: 4 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.01208, allocations: 4 kB / 328 MB, free: 4.77 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 (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 5.417e-05/0.01214, allocations: 116.7 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.01216, allocations: 15.92 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.01226, allocations: 75.38 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01226, allocations: 0 / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01227, allocations: 0 / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01227, allocations: 4 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.01253, allocations: 251.5 kB / 328.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01253, allocations: 0 / 328.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.01258, allocations: 12 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01258, allocations: 4.031 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01258, allocations: 7.984 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01259, allocations: 0 / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01259, allocations: 0 / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.01269, allocations: 168.2 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.0127, allocations: 7.953 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.01271, allocations: 0 / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.01276, allocations: 12 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.01278, allocations: 7.984 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.01279, allocations: 0 / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.01283, allocations: 56.34 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01283, allocations: 0 / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.01303, allocations: 19.94 kB / 328.7 MB, free: 3.957 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 (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.004393/0.01742, allocations: 0.5653 MB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.0175, allocations: 40.7 kB / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01751, allocations: 0 / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.01754, allocations: 28.94 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.01771, allocations: 27.38 kB / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.01799, allocations: 216 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.01803, allocations: 71.33 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.689e-05/0.01807, allocations: 12.8 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.01813, allocations: 63.36 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.01813, allocations: 0 / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of Templates: time 0.006103/0.02423, allocations: 1.512 MB / 331.3 MB, free: 1.691 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.9169914298690856]