Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.0009708/0.0009708, 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.005383/0.005383, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8849/0.8849, allocations: 177.2 MB / 205 MB, free: 5.703 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.2544/0.2544, allocations: 32.79 MB / 294.2 MB, free: 1.195 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.961e-05, allocations: 2.844 kB / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002767/0.002797, allocations: 1.617 MB / 442.5 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.00442, allocations: 1.247 MB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.004484, allocations: 4 kB / 443.7 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.00472, allocations: 31.72 kB / 443.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.004994, allocations: 91.55 kB / 443.8 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.005229, allocations: 117.5 kB / 444 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.005383, allocations: 75.83 kB / 444 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.005503, allocations: 15.97 kB / 444.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.005566, allocations: 39.86 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.00567, allocations: 31.89 kB / 444.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.005686, allocations: 4 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.005816, allocations: 99.75 kB / 444.2 MB, free: 336 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.005866, allocations: 23.86 kB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.005895, allocations: 15.98 kB / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.006145, allocations: 159.5 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.006148, allocations: 0 / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006149, allocations: 0 / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006154, allocations: 0 / 444.4 MB, free: 136 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.2237/0.2299, allocations: 339.5 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2299, allocations: 8.031 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.23, allocations: 14.66 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.2302, allocations: 138 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2302, allocations: 384 / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.2302, allocations: 6.594 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.2304, allocations: 105.3 kB / 445 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2304, allocations: 3.594 kB / 445 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2305, allocations: 2 kB / 445 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2305, allocations: 2.719 kB / 445 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.2305, allocations: 39.23 kB / 445.1 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.2309, allocations: 251.2 kB / 445.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.231, allocations: 51.58 kB / 445.4 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.2311, allocations: 22.2 kB / 445.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.2311, allocations: 3.344 kB / 445.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.2311, allocations: 43.59 kB / 445.4 MB, free: 46.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.2311, allocations: 0 / 445.4 MB, free: 46.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005967/0.2317, allocations: 194.7 kB / 445.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.2318, allocations: 80.11 kB / 445.7 MB, free: 46.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.2319, allocations: 152.8 kB / 445.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2319, allocations: 34.05 kB / 445.9 MB, free: 45.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.232, allocations: 90.7 kB / 446 MB, free: 45.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.232, allocations: 29.92 kB / 446 MB, free: 45.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.232, allocations: 23.44 kB / 446 MB, free: 45.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.2321, allocations: 320.5 kB / 446.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.2322, allocations: 33.39 kB / 446.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.2322, allocations: 67.8 kB / 446.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2323, allocations: 78.44 kB / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2323, allocations: 3.938 kB / 446.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001436/0.2325, allocations: 114.1 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2325, allocations: 5.375 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2325, allocations: 0 / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2325, allocations: 2.656 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.2326, allocations: 17.56 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2326, allocations: 0 / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.2327, allocations: 9.812 kB / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2327, allocations: 6.016 kB / 446.7 MB, free: 45.38 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 (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 8.508e-05/0.2328, allocations: 122.6 kB / 446.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.2328, allocations: 9.672 kB / 446.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.233, allocations: 135.4 kB / 446.9 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.233, allocations: 2.531 kB / 446.9 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.233, allocations: 0 / 446.9 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.233, allocations: 3.469 kB / 446.9 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.2333, allocations: 338 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2333, allocations: 1.812 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.2334, allocations: 19.41 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2334, allocations: 0 / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2334, allocations: 3.234 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2334, allocations: 7.547 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2334, allocations: 3.719 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2335, allocations: 211.6 kB / 447.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.2335, allocations: 10.06 kB / 447.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2336, allocations: 4 kB / 447.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.8e-05/0.2336, allocations: 8.531 kB / 447.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2336, allocations: 6.156 kB / 447.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2336, allocations: 2.781 kB / 447.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.2337, allocations: 118.3 kB / 447.6 MB, free: 44.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2337, allocations: 3.781 kB / 447.7 MB, free: 44.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.234, allocations: 45.69 kB / 447.7 MB, free: 44.67 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 (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.0009745/0.2349, allocations: 0.527 MB / 448.2 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.2351, allocations: 74.77 kB / 448.3 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2351, allocations: 4 kB / 448.3 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.2351, allocations: 33.45 kB / 448.3 MB, free: 44.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2354, allocations: 20.42 kB / 448.4 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.2358, allocations: 231.8 kB / 448.6 MB, free: 44.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.2358, allocations: 86.75 kB / 448.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.2359, allocations: 23.44 kB / 448.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2359, allocations: 4 kB / 448.7 MB, free: 44.22 MB / 410.7 MB Notification: Performance of Templates: time 0.002771/0.2386, allocations: 2.207 MB / 450.9 MB, free: 43.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.154177294112742]