Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001039/0.001039, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001051/0.001051, allocations: 161 kB / 24.56 MB, free: 16 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.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.629 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.2613/0.2613, allocations: 34.26 MB / 295.7 MB, free: 0.7344 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.664e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002615/0.002642, allocations: 1.653 MB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.00342, allocations: 0.5415 MB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.003483, allocations: 0 / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.003756, allocations: 75.64 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.004065, allocations: 107.5 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.004318, allocations: 87.64 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.004475, allocations: 95.73 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004577, allocations: 12 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.004656, allocations: 43.88 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.004753, allocations: 55.88 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.00477, allocations: 4 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.004857, allocations: 43.92 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.00491, allocations: 27.84 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.004941, allocations: 11.94 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.005111, allocations: 91.66 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.005114, allocations: 0 / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005116, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.005121, allocations: 0 / 380.9 MB, free: 15.76 MB / 362.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.0004246/0.005545, allocations: 435.9 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.005585, allocations: 11.97 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.005631, allocations: 20.83 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.005774, allocations: 145.1 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.005784, allocations: 8.375 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.005807, allocations: 384 / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.005928, allocations: 62.94 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.005937, allocations: 4.125 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.005947, allocations: 8.125 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.005954, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.005986, allocations: 8 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.006285, allocations: 299.7 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.479e-05/0.00635, allocations: 42.98 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.006373, allocations: 15.62 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.006395, allocations: 4 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.006416, allocations: 33.39 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006417, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.006961, allocations: 177.5 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.006988, allocations: 51.41 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.007129, allocations: 238.4 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.00714, allocations: 29.7 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.007202, allocations: 158.8 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.007226, allocations: 23.8 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.00726, allocations: 27.38 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.007376, allocations: 0.5 MB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.0074, allocations: 15.92 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.007418, allocations: 12 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.007472, allocations: 31.69 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007473, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.367e-05/0.007567, allocations: 77.59 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.007582, allocations: 7.984 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.007587, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.007603, allocations: 3.938 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.007687, allocations: 23.94 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.007693, allocations: 0 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.007712, allocations: 3.984 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.007719, allocations: 4 kB / 383.3 MB, free: 13.1 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 (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 6.755e-05/0.007787, allocations: 168.5 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.007809, allocations: 15.91 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.007946, allocations: 83.55 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.007949, allocations: 4 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.007952, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.007958, allocations: 7.969 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.008258, allocations: 381.4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.00826, allocations: 3.938 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.008305, allocations: 15.98 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.008308, allocations: 8.031 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008315, allocations: 0 / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008317, allocations: 0 / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008318, allocations: 0 / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.008449, allocations: 235.4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.008459, allocations: 11.94 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.008472, allocations: 8 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.008507, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.008542, allocations: 11.92 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.008547, allocations: 4 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.394e-05/0.008621, allocations: 171.2 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008621, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.008786, allocations: 12 kB / 384.5 MB, free: 11.89 MB / 362.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.0009564/0.009743, allocations: 434.7 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.009851, allocations: 51.53 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009853, allocations: 0 / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.009883, allocations: 27.69 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.01011, allocations: 23.88 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.01048, allocations: 245.8 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01052, allocations: 63.34 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.01055, allocations: 17.02 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.01058, allocations: 12.5 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01059, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003643/0.01423, allocations: 1.374 MB / 386.7 MB, free: 9.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.3364361342974007]