Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0007611/0.0007611, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003436/0.003436, allocations: 160.6 kB / 24.7 MB, free: 9.43 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.9424/0.9424, allocations: 177.1 MB / 205 MB, free: 5.75 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.2581/0.2581, allocations: 32.79 MB / 294.2 MB, free: 1.191 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.236e-05, allocations: 2.281 kB / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001932/0.001955, allocations: 1.587 MB / 442.5 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.003083, allocations: 1.25 MB / 443.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.003126, allocations: 0 / 443.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.003263, allocations: 31.78 kB / 443.7 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.00347, allocations: 87.48 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.003669, allocations: 112.5 kB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.003785, allocations: 71.77 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.003863, allocations: 8 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.003913, allocations: 35.89 kB / 444 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.003982, allocations: 23.92 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.003993, allocations: 4 kB / 444.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.004104, allocations: 91.81 kB / 444.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.004141, allocations: 23.84 kB / 444.2 MB, free: 388 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.004162, allocations: 11.94 kB / 444.2 MB, free: 376 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.004356, allocations: 143.6 kB / 444.3 MB, free: 232 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004358, allocations: 11.94 kB / 444.4 MB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.004359, allocations: 0 / 444.4 MB, free: 220 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004364, allocations: 3.938 kB / 444.4 MB, free: 216 kB / 410.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.2189/0.2232, allocations: 317.4 kB / 444.7 MB, free: 46.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2233, allocations: 11.95 kB / 444.7 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.2233, allocations: 10.42 kB / 444.7 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.2235, allocations: 129.6 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2235, allocations: 6.922 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2235, allocations: 384 / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2237, allocations: 88.55 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2237, allocations: 6.641 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2237, allocations: 0.75 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2237, allocations: 5.781 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.2238, allocations: 26.88 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.224, allocations: 228.4 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.2242, allocations: 42.83 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.2243, allocations: 16.17 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2243, allocations: 5.375 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2243, allocations: 33.48 kB / 445.3 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.2243, allocations: 0 / 445.3 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004304/0.2247, allocations: 165.7 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2248, allocations: 80.02 kB / 445.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2249, allocations: 144.4 kB / 445.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.2249, allocations: 26.77 kB / 445.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.2249, allocations: 93.36 kB / 445.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.2249, allocations: 17.17 kB / 445.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.225, allocations: 19.25 kB / 445.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.487e-05/0.225, allocations: 319.8 kB / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.225, allocations: 24.36 kB / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.2251, allocations: 61.23 kB / 446.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.766e-05/0.2251, allocations: 51.92 kB / 446.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2251, allocations: 0 / 446.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.683e-05/0.2252, allocations: 101 kB / 446.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2252, allocations: 5.656 kB / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2253, allocations: 0 / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2253, allocations: 0 / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.778e-05/0.2253, allocations: 15.98 kB / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2253, allocations: 0 / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.2253, allocations: 10.16 kB / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.2253, allocations: 7.281 kB / 446.4 MB, free: 45.52 MB / 410.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 4.796e-05/0.2254, allocations: 116.8 kB / 446.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.2254, allocations: 13.91 kB / 446.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.2255, allocations: 99.84 kB / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2255, allocations: 2.906 kB / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2256, allocations: 0 / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2256, allocations: 0 / 446.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.2258, allocations: 304.8 kB / 446.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2258, allocations: 0 / 446.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.2258, allocations: 10.75 kB / 446.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2258, allocations: 3.188 kB / 446.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.2258, allocations: 3.188 kB / 446.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2258, allocations: 3.938 kB / 446.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2258, allocations: 2.688 kB / 446.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.2259, allocations: 185.9 kB / 447.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.2259, allocations: 13.97 kB / 447.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2259, allocations: 0 / 447.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.226, allocations: 2.781 kB / 447.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.226, allocations: 5.906 kB / 447.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.226, allocations: 0 / 447.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.226, allocations: 116 kB / 447.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.226, allocations: 0 / 447.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.2263, allocations: 40.95 kB / 447.3 MB, free: 44.89 MB / 410.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.0008058/0.2271, allocations: 0.5305 MB / 447.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.2272, allocations: 51.69 kB / 447.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2272, allocations: 0 / 447.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.2273, allocations: 24.84 kB / 447.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.2277, allocations: 22.22 kB / 447.9 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.2282, allocations: 208.2 kB / 448.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.2283, allocations: 79.89 kB / 448.2 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.2283, allocations: 20.58 kB / 448.2 MB, free: 44.47 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2283, allocations: 2.078 kB / 448.2 MB, free: 44.47 MB / 410.7 MB Notification: Performance of Templates: time 0.002576/0.2309, allocations: 1.999 MB / 450.2 MB, free: 44.24 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.215529356151819]