Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.0008794/0.0008794, allocations: 80.8 kB / 21.5 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.0009171/0.0009171, allocations: 169.2 kB / 24.92 MB, free: 8.773 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.9524/0.9524, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2425/0.2425, allocations: 34.26 MB / 296.1 MB, free: 0.6094 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.469e-05, allocations: 3.156 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.00334/0.003365, allocations: 1.634 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.005149, allocations: 1.29 MB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.005219, allocations: 0 / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.005457, allocations: 15.86 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.005827, allocations: 95.48 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.006134, allocations: 95.56 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.006291, allocations: 64.47 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.006381, allocations: 15.97 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.006461, allocations: 27.92 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.006571, allocations: 27.89 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.006588, allocations: 8 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.006768, allocations: 95.81 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.006813, allocations: 11.94 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.006841, allocations: 15.92 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.007083, allocations: 131.5 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007087, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.00709, allocations: 4 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.007093, allocations: 0 / 328.8 MB, free: 4.121 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004191/0.007513, allocations: 301.6 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.007549, allocations: 8.031 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.007592, allocations: 12.92 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.007756, allocations: 133.7 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.007766, allocations: 384 / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.007789, allocations: 4.375 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.007918, allocations: 90.38 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.007928, allocations: 192 / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.007939, allocations: 12.09 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.007945, allocations: 0 / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.007969, allocations: 7.938 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.008206, allocations: 171.1 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.008345, allocations: 30.56 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.008361, allocations: 12.86 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.008377, allocations: 96 / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.008403, allocations: 42.48 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.008404, allocations: 0 / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003006/0.008705, allocations: 78.03 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.008752, allocations: 85.11 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.008866, allocations: 140.3 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.008878, allocations: 25.7 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.008917, allocations: 92.08 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.00894, allocations: 19.83 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.008973, allocations: 17.72 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.009063, allocations: 322.8 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.009075, allocations: 4 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.00911, allocations: 47.34 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.009146, allocations: 24.84 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009147, allocations: 0 / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.247e-05/0.009219, allocations: 49.75 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.009232, allocations: 8 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.009239, allocations: 4.062 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.009251, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.00931, allocations: 16.02 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.009313, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.00934, allocations: 4 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.009345, allocations: 0 / 330.5 MB, free: 2.203 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 (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 6.861e-05/0.009414, allocations: 116.7 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.009444, allocations: 11.92 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.009553, allocations: 58.08 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.009555, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.009556, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.009559, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.009811, allocations: 214.8 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.009813, allocations: 3.938 kB / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.009852, allocations: 8 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.009854, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.009861, allocations: 3.984 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009863, allocations: 3.938 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.009864, allocations: 0 / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.009964, allocations: 143.5 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.00998, allocations: 15.89 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.009993, allocations: 0 / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.01005, allocations: 7.984 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.01008, allocations: 4.188 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.01008, allocations: 4 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.01013, allocations: 41.84 kB / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01013, allocations: 0 / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000282/0.01041, allocations: 35.86 kB / 331.2 MB, free: 1.484 MB / 298.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.00173/0.01214, allocations: 0.6267 MB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.812e-05/0.01223, allocations: 28.78 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01223, allocations: 0 / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.01225, allocations: 16.84 kB / 331.8 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01246, allocations: 27.92 kB / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.01279, allocations: 158.5 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.01284, allocations: 65.98 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.01289, allocations: 16.22 kB / 332.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.01297, allocations: 71.36 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01297, allocations: 0 / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of Templates: time 0.004582/0.01755, allocations: 1.98 MB / 334.2 MB, free: 14.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.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.889589508995414]