Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001468/0.001468, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001235/0.001235, allocations: 161.3 kB / 24.99 MB, free: 8.793 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 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2757/0.2757, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.129e-05, allocations: 6.25 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.005635/0.005666, allocations: 1.646 MB / 377.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.007145, allocations: 1.266 MB / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.009241, allocations: 3.938 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.009499, allocations: 19.86 kB / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.009807, allocations: 95.47 kB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.01002, allocations: 83.7 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.01018, allocations: 75.77 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.01029, allocations: 4 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.01036, allocations: 47.83 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.01046, allocations: 18.73 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.01047, allocations: 4 kB / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.0106, allocations: 91.81 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.01065, allocations: 19.91 kB / 379.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.01068, allocations: 11.94 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.0109, allocations: 127.6 kB / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.0109, allocations: 0 / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0109, allocations: 0 / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01091, allocations: 0 / 379.5 MB, free: 1.473 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.0004227/0.01133, allocations: 443.9 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.01137, allocations: 12.03 kB / 380 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.01142, allocations: 8.891 kB / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.01158, allocations: 128.1 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.0116, allocations: 4.375 kB / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.01162, allocations: 4.375 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.01177, allocations: 104 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.01178, allocations: 192 / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.01179, allocations: 4.125 kB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.0118, allocations: 3.938 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.01183, allocations: 11.94 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.01212, allocations: 283.8 kB / 380.5 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.01228, allocations: 43.05 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.01231, allocations: 19.77 kB / 380.6 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.01233, allocations: 3.938 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.01235, allocations: 37.33 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.01235, allocations: 0 / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003444/0.0127, allocations: 101.4 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.01274, allocations: 81.11 kB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.01288, allocations: 195.9 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.01289, allocations: 29.7 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.01294, allocations: 138.9 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.01296, allocations: 23.8 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.01299, allocations: 27.36 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01312, allocations: 496.1 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.01314, allocations: 11.98 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.01317, allocations: 49.14 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.01321, allocations: 23.69 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01321, allocations: 3.984 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.634e-05/0.01329, allocations: 61.58 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.0133, allocations: 8.031 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01331, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.01332, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.01336, allocations: 11.98 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01337, allocations: 4 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.01339, allocations: 3.953 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.0134, allocations: 4 kB / 381.8 MB, free: 14.9 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.05e-05/0.01347, allocations: 160.6 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.01349, allocations: 11.89 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.0136, allocations: 66.09 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0136, allocations: 4 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.0136, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01361, allocations: 3.984 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.01383, allocations: 321.4 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01384, allocations: 8.234 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.01387, allocations: 8 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01387, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01388, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01388, allocations: 3.938 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01388, allocations: 0 / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.014, allocations: 211.8 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01401, allocations: 11.94 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.01403, allocations: 4 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.01409, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.01412, allocations: 4 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.01413, allocations: 3.984 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.01421, allocations: 149 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01421, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.0145, allocations: 39.86 kB / 382.8 MB, free: 13.82 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.001008/0.01551, allocations: 491.5 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01562, allocations: 31.61 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01562, allocations: 3.938 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.01564, allocations: 19.67 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01586, allocations: 27.92 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.01625, allocations: 169.9 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.01628, allocations: 63.34 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.8e-05/0.01632, allocations: 11.98 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.01635, allocations: 20.48 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01636, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003796/0.02015, allocations: 1.821 MB / 385.5 MB, free: 11.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.3305865589063615]