Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.002001/0.002001, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.0026/0.0026, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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.56/1.56, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.374/0.374, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.928e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003255/0.003284, allocations: 1.662 MB / 376.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.005355, allocations: 1.262 MB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.005402, allocations: 4 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.005607, allocations: 23.78 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.005954, allocations: 87.53 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.006292, allocations: 127.6 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.006451, allocations: 75.75 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.006541, allocations: 15.94 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/0.006633, allocations: 39.89 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.00676, allocations: 27.91 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.006781, allocations: 4 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.00697, allocations: 95.81 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.007035, allocations: 19.91 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.007078, allocations: 16 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.007392, allocations: 155.4 kB / 378.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007395, allocations: 4 kB / 378.9 MB, free: 1.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007396, allocations: 0 / 378.9 MB, free: 1.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.0074, allocations: 0 / 378.9 MB, free: 1.359 MB / 346.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.0005884/0.007989, allocations: 333.7 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.008024, allocations: 12.03 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.008083, allocations: 8.891 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.008309, allocations: 137.6 kB / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.008323, allocations: 4.375 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.008356, allocations: 8.328 kB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.008578, allocations: 97.66 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.008591, allocations: 4.188 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.008607, allocations: 4.125 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.008611, allocations: 0 / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.008757, allocations: 35.97 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.009183, allocations: 236.4 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.009322, allocations: 42.56 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.009399, allocations: 28.88 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.009421, allocations: 0 / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.469e-05/0.009515, allocations: 42.55 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.009516, allocations: 0 / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008665/0.01038, allocations: 205.4 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.01046, allocations: 81.05 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.01065, allocations: 155.6 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.01068, allocations: 29.7 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.01075, allocations: 92.12 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.01078, allocations: 23.8 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.01083, allocations: 21.7 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01099, allocations: 322.8 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.01113, allocations: 27.97 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01128, allocations: 79.39 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.01151, allocations: 80.86 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01151, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000298/0.01181, allocations: 117.8 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01182, allocations: 8 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01183, allocations: 4.031 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.01184, allocations: 0 / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.01198, allocations: 19.98 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.01198, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.01205, allocations: 7.984 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.01206, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.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 0.0001048/0.01216, allocations: 117.8 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.01221, allocations: 15.94 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.01256, allocations: 134.2 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.01256, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01256, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01257, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.01313, allocations: 330.1 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01313, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.01322, allocations: 23.98 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.01323, allocations: 7.938 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01324, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01324, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01325, allocations: 288 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.01361, allocations: 215.4 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.01363, allocations: 11.94 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01365, allocations: 4 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01375, allocations: 15.98 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.0138, allocations: 0 / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.01381, allocations: 7.984 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.01393, allocations: 109.6 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01393, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.01424, allocations: 47.8 kB / 382.1 MB, free: 13.83 MB / 362.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.00234/0.01658, allocations: 0.5327 MB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.0169, allocations: 71.94 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0169, allocations: 0 / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01703, allocations: 47.89 kB / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.01742, allocations: 23.92 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.01801, allocations: 199.4 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.492e-05/0.0181, allocations: 79.33 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.901e-05/0.01817, allocations: 16.28 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.01823, allocations: 20.48 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01823, allocations: 0 / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.005663/0.02389, allocations: 1.978 MB / 385.1 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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: 4.903433865052648]