Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.00102/0.00102, 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.00112/0.00112, allocations: 165 kB / 24.56 MB, free: 20 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 0.9911/0.9911, allocations: 177.1 MB / 205 MB, free: 5.297 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.2962/0.2962, allocations: 32.81 MB / 294.3 MB, free: 1.246 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.059e-05/4.297e-05, allocations: 6.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003051/0.003094, allocations: 1.638 MB / 377.7 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.00426, allocations: 0.5454 MB / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.004359, allocations: 0 / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.0047, allocations: 23.8 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.005061, allocations: 83.61 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.005395, allocations: 115.5 kB / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.005598, allocations: 59.84 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.005864, allocations: 19.92 kB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.005946, allocations: 31.91 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.006024, allocations: 15.92 kB / 378.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.00605, allocations: 4 kB / 378.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.006145, allocations: 28 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.006214, allocations: 15.91 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.006261, allocations: 11.94 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.006483, allocations: 67.75 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.00649, allocations: 0 / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.006491, allocations: 0 / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.006499, allocations: 0 / 378.7 MB, free: 1.996 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.000633/0.007132, allocations: 416.1 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.007192, allocations: 12.03 kB / 379.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.007256, allocations: 8.891 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.007462, allocations: 140.5 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.007479, allocations: 384 / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.007528, allocations: 4.375 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.007714, allocations: 54.89 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.007731, allocations: 192 / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.007757, allocations: 8.125 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.007771, allocations: 4 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.007812, allocations: 7.938 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.008214, allocations: 271.8 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.0084, allocations: 43.05 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.008428, allocations: 11.78 kB / 379.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.00847, allocations: 7.922 kB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.008503, allocations: 41.33 kB / 379.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.008505, allocations: 0 / 379.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005241/0.009029, allocations: 105.6 kB / 379.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.009068, allocations: 51.41 kB / 379.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.009211, allocations: 197.9 kB / 380 MB, free: 484 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.009223, allocations: 29.7 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.009286, allocations: 138.9 kB / 380.2 MB, free: 304 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.009318, allocations: 27.78 kB / 380.2 MB, free: 276 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.009355, allocations: 23.38 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.009515, allocations: 0.4923 MB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.009541, allocations: 4 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.009557, allocations: 4 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.326e-05/0.00961, allocations: 19.69 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009612, allocations: 4 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001394/0.009751, allocations: 65.52 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.009774, allocations: 12 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.009781, allocations: 304 / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.009807, allocations: 3.984 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.009888, allocations: 15.98 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.009895, allocations: 0 / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.009922, allocations: 4 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.00993, allocations: 0 / 380.9 MB, free: 15.59 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 7.978e-05/0.01001, allocations: 160.6 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.01004, allocations: 15.88 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.0102, allocations: 62.09 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01021, allocations: 8 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01021, allocations: 3.938 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01022, allocations: 3.984 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.01053, allocations: 317.4 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01053, allocations: 0 / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/0.01359, allocations: 15.98 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01359, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.0136, allocations: 4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.0136, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.0136, allocations: 3.938 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.01374, allocations: 211.8 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.01375, allocations: 3.953 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.01377, allocations: 4 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.01382, allocations: 4 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.01385, allocations: 3.984 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.01386, allocations: 4.188 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.682e-05/0.01393, allocations: 148.5 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01393, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01416, allocations: 16 kB / 381.8 MB, free: 14.55 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.001076/0.01524, allocations: 381.9 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.01535, allocations: 31.61 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01535, allocations: 0 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.01538, allocations: 19.69 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.01568, allocations: 27.91 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.01607, allocations: 174.6 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01612, allocations: 59.34 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.01616, allocations: 15.92 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.0162, allocations: 16.48 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0162, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Templates: time 0.009807/0.02601, allocations: 1.171 MB / 383.7 MB, free: 12.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.1820960557088256]