Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001575/0.001575, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001848/0.001848, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.3003/0.3003, allocations: 32.81 MB / 294.6 MB, free: 1.18 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.447e-05/3.697e-05, allocations: 2.312 kB / 376 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003628/0.003665, allocations: 1.72 MB / 377.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004841, allocations: 0.5607 MB / 378.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004942, allocations: 4 kB / 378.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.005262, allocations: 55.73 kB / 378.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.005652, allocations: 99.52 kB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.006145, allocations: 175.5 kB / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.006378, allocations: 91.69 kB / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.006506, allocations: 12.22 kB / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.006604, allocations: 47.89 kB / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.006726, allocations: 39.89 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.006749, allocations: 4 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.006885, allocations: 51.91 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.006976, allocations: 31.86 kB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.007021, allocations: 15.92 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.007276, allocations: 103.6 kB / 379 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.007282, allocations: 0 / 379 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.007284, allocations: 0 / 379 MB, free: 1.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.007291, allocations: 0 / 379 MB, free: 1.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005893/0.00788, allocations: 436 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.007928, allocations: 12.03 kB / 379.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.007995, allocations: 12.84 kB / 379.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.008198, allocations: 151.4 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.008211, allocations: 12.31 kB / 379.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.008238, allocations: 4.375 kB / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.008417, allocations: 62.94 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.008429, allocations: 192 / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.008445, allocations: 8.125 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.008455, allocations: 4 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.008519, allocations: 11.98 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.008986, allocations: 311.6 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.009272, allocations: 50.98 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.009313, allocations: 19.72 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.009334, allocations: 0 / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.009365, allocations: 37.39 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.009367, allocations: 0 / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007549/0.01012, allocations: 237.7 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.01016, allocations: 55.41 kB / 380.4 MB, free: 376 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.01031, allocations: 217.8 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01032, allocations: 29.7 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.01041, allocations: 146.9 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.01045, allocations: 47.58 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.01049, allocations: 27.38 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01063, allocations: 0.5039 MB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.01067, allocations: 19.92 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.0107, allocations: 16 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.923e-05/0.01077, allocations: 43.67 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.01077, allocations: 0 / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001156/0.01088, allocations: 93.91 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.0109, allocations: 9.875 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.0109, allocations: 0 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01092, allocations: 3.984 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.01099, allocations: 27.92 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.01099, allocations: 0 / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.01102, allocations: 8 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.01103, allocations: 4 kB / 381.6 MB, free: 15.12 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 (11): * Single equations (assignments): 11 * 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 7.586e-05/0.0111, allocations: 160.5 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.01113, allocations: 15.91 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.0113, allocations: 122.4 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.0113, allocations: 4 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01131, allocations: 0 / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01131, allocations: 3.984 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.0117, allocations: 408.7 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.0117, allocations: 3.938 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.01176, allocations: 27.92 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01176, allocations: 3.984 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01177, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01177, allocations: 8 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01177, allocations: 0 / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.01194, allocations: 263.1 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.01195, allocations: 8.141 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.01196, allocations: 8 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.01201, allocations: 11.94 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.01205, allocations: 7.984 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.01206, allocations: 7.984 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.73e-05/0.01213, allocations: 153.6 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01213, allocations: 0 / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.01232, allocations: 35.92 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009547/0.01327, allocations: 435.1 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.01342, allocations: 55.59 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01342, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.01346, allocations: 43.61 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.0137, allocations: 23.94 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.01413, allocations: 274.2 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.01418, allocations: 71.33 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.282e-05/0.01424, allocations: 28.45 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.01428, allocations: 20.48 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01428, allocations: 0 / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.003627/0.01791, allocations: 1.669 MB / 385.4 MB, free: 11.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.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: 3.3180031571537256]