Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001262/0.001262, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001104/0.001104, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9614/0.9614, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.278/0.278, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.749e-05, allocations: 3.156 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002418/0.002445, allocations: 1.665 MB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.003175, allocations: 0.5297 MB / 327.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.003233, allocations: 0 / 327.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.00349, allocations: 79.64 kB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.003833, allocations: 107.6 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.004104, allocations: 99.5 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.004266, allocations: 84.44 kB / 327.8 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.004352, allocations: 11.98 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.004424, allocations: 47.89 kB / 327.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.00451, allocations: 43.88 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.004522, allocations: 4 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.004604, allocations: 51.84 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.004645, allocations: 27.92 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.004667, allocations: 11.94 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.004819, allocations: 91.66 kB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004821, allocations: 0 / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004822, allocations: 0 / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004826, allocations: 0 / 328.1 MB, free: 4.84 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.0003377/0.005164, allocations: 313.6 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.005196, allocations: 8.031 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.005229, allocations: 12.92 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.005361, allocations: 151.4 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.005369, allocations: 384 / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.00539, allocations: 8.375 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.583e-05/0.005476, allocations: 54.95 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.005484, allocations: 192 / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.005492, allocations: 8.062 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.005497, allocations: 0 / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.005517, allocations: 11.98 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.005718, allocations: 175 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.005765, allocations: 26.58 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.005779, allocations: 8.859 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.005795, allocations: 8.078 kB / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.005816, allocations: 42.5 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005817, allocations: 0 / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004066/0.006224, allocations: 150.3 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.006255, allocations: 51.41 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.00637, allocations: 177.5 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.00638, allocations: 25.7 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.006411, allocations: 108 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.006431, allocations: 19.81 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.006458, allocations: 33.69 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.006529, allocations: 322.8 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.006541, allocations: 4 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.006552, allocations: 4 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.006585, allocations: 32.81 kB / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.006585, allocations: 0 / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.307e-05/0.006648, allocations: 65.78 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006659, allocations: 4 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006663, allocations: 0 / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.006675, allocations: 3.984 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.006733, allocations: 12 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.006737, allocations: 4 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.00676, allocations: 15.92 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.006765, allocations: 0 / 329.9 MB, free: 2.855 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.951e-05/0.006824, allocations: 112.7 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.006842, allocations: 11.94 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.006945, allocations: 79 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006947, allocations: 0 / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006948, allocations: 0 / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.006951, allocations: 0 / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.007165, allocations: 251.5 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.007166, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.007202, allocations: 19.98 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007205, allocations: 4 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.007209, allocations: 0 / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007211, allocations: 0 / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007212, allocations: 0 / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.007294, allocations: 168.2 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.007303, allocations: 7.906 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.007316, allocations: 15.98 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.007348, allocations: 4.031 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.00737, allocations: 7.984 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.007373, allocations: 0 / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.007413, allocations: 52.16 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007413, allocations: 0 / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.007551, allocations: 19.98 kB / 330.7 MB, free: 2.047 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.001461/0.009012, allocations: 0.5802 MB / 331.2 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.009088, allocations: 36.77 kB / 331.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.009092, allocations: 0 / 331.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.009112, allocations: 20.8 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.009266, allocations: 26.02 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.009558, allocations: 227.7 kB / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.685e-05/0.009595, allocations: 67.33 kB / 331.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.009625, allocations: 9.047 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.009674, allocations: 71.28 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009675, allocations: 0 / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of Templates: time 0.002987/0.01266, allocations: 1.483 MB / 333.2 MB, free: 15.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.9858523942530155]