Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0009241/0.0009241, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009822/0.0009822, allocations: 167 kB / 24.82 MB, free: 9.27 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.9765/0.9765, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2503/0.2503, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.016e-05, allocations: 9.062 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002863/0.002883, allocations: 1.626 MB / 378.1 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003939, allocations: 0.5414 MB / 378.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.004005, allocations: 0 / 378.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.004212, allocations: 19.8 kB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.004534, allocations: 83.61 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.004867, allocations: 115.5 kB / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.005032, allocations: 67.78 kB / 378.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.005126, allocations: 11.94 kB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.005206, allocations: 39.89 kB / 379 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.005272, allocations: 11.98 kB / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.005288, allocations: 7.938 kB / 379 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.005373, allocations: 24 kB / 379 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.005419, allocations: 11.98 kB / 379 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.005449, allocations: 19.92 kB / 379.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.005615, allocations: 63.75 kB / 379.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005617, allocations: 0 / 379.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005618, allocations: 0 / 379.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.005621, allocations: 0 / 379.1 MB, free: 1.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004277/0.006049, allocations: 436 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.006089, allocations: 8.031 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.006129, allocations: 8.891 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.006277, allocations: 142.8 kB / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.006287, allocations: 384 / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.006306, allocations: 4.375 kB / 379.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.006414, allocations: 50.95 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.006427, allocations: 8.188 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.006434, allocations: 4.125 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.00644, allocations: 0 / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.006469, allocations: 11.92 kB / 379.8 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.006761, allocations: 252.5 kB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.006909, allocations: 39.05 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.006931, allocations: 15.69 kB / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.006952, allocations: 0 / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.006978, allocations: 45.27 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.00698, allocations: 3.984 kB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003157/0.007296, allocations: 89.59 kB / 380.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.007323, allocations: 51.41 kB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.007455, allocations: 208.8 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.007468, allocations: 29.7 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.007531, allocations: 146.8 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.007554, allocations: 15.86 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.007607, allocations: 27.36 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.007756, allocations: 0.4923 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.007773, allocations: 7.938 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.007789, allocations: 4 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.007831, allocations: 19.69 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007833, allocations: 3.938 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.513e-05/0.007928, allocations: 61.58 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.007939, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.007943, allocations: 4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007955, allocations: 0 / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.008012, allocations: 11.98 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.008016, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.008041, allocations: 0 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.008046, allocations: 0 / 381.3 MB, free: 15.36 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 (5): * Single equations (assignments): 5 * 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 8.127e-05/0.008128, allocations: 168.5 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.00816, allocations: 7.953 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.008289, allocations: 70.33 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.008292, allocations: 4 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008294, allocations: 4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008297, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.008587, allocations: 294 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.00859, allocations: 3.984 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.008642, allocations: 8 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008644, allocations: 0 / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.008649, allocations: 0 / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.008653, allocations: 4 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.008657, allocations: 3.938 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.008793, allocations: 211.8 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.008802, allocations: 7.953 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.008817, allocations: 7.984 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.008875, allocations: 0 / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.008899, allocations: 4 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.008903, allocations: 0 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.008975, allocations: 147.2 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008976, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.009246, allocations: 15.94 kB / 382.2 MB, free: 14.34 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 (5): * Single equations (assignments): 5 * 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.001064/0.01031, allocations: 396.2 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.607e-05/0.0104, allocations: 27.61 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0104, allocations: 0 / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.01043, allocations: 23.8 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.01073, allocations: 23.12 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.01105, allocations: 186.7 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.0111, allocations: 63.34 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.01114, allocations: 11.92 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.01121, allocations: 82.2 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01121, allocations: 0 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003745/0.01495, allocations: 1.284 MB / 384.3 MB, free: 12.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.7779717366211116]