Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.001063/0.001063, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002702, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001117/0.001117, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002499, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.89/0.89, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1973/1.087, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1295/0.1295, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02237/0.1519, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.105e-05, allocations: 6.25 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.002659/0.00269, allocations: 0.5477 MB / 267.8 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.005237, allocations: 1.447 MB / 269.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.005258, allocations: 0 / 269.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.009e-05/0.005268, allocations: 3.938 kB / 269.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.286e-06/0.005272, allocations: 0 / 269.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.005869, allocations: 95.47 kB / 269.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.005958, allocations: 11.97 kB / 269.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.006002, allocations: 0 / 269.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.006048, allocations: 4 kB / 269.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.0061, allocations: 0 / 269.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.006113, allocations: 0 / 269.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.006594, allocations: 67.94 kB / 269.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.006608, allocations: 3.938 kB / 269.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.006634, allocations: 0 / 269.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.006801, allocations: 27.92 kB / 269.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-05/0.006833, allocations: 3.938 kB / 269.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.006836, allocations: 0 / 269.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.00686, allocations: 0 / 269.4 MB, free: 4.305 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003878/0.007248, allocations: 250.5 kB / 269.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.007289, allocations: 12.03 kB / 269.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.007332, allocations: 0.9375 kB / 269.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.007407, allocations: 101.8 kB / 269.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.007419, allocations: 4.375 kB / 269.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.007427, allocations: 384 / 269.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/0.007523, allocations: 59.95 kB / 269.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007531, allocations: 192 / 269.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.007538, allocations: 384 / 269.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.007546, allocations: 3.938 kB / 269.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.007569, allocations: 33.69 kB / 269.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.398e-05/0.007653, allocations: 68.92 kB / 269.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.007698, allocations: 52.3 kB / 270 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.00772, allocations: 30.56 kB / 270 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-06/0.007724, allocations: 0 / 270 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.007761, allocations: 60.33 kB / 270.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.007761, allocations: 0 / 270.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.00789, allocations: 114.7 kB / 270.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.007929, allocations: 85.05 kB / 270.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.00798, allocations: 89.86 kB / 270.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.619e-06/0.007989, allocations: 29.83 kB / 270.4 MB, free: 3.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.008009, allocations: 80.14 kB / 270.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.008028, allocations: 3.953 kB / 270.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.008055, allocations: 21.7 kB / 270.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.008152, allocations: 314.8 kB / 270.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.008168, allocations: 29.7 kB / 270.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.00818, allocations: 29.69 kB / 270.9 MB, free: 2.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.008225, allocations: 60.27 kB / 270.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008227, allocations: 0 / 270.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.662e-05/0.008314, allocations: 97.09 kB / 271 MB, free: 2.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.008349, allocations: 29.7 kB / 271 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008355, allocations: 0 / 271 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.008363, allocations: 0 / 271 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-06/0.008367, allocations: 0 / 271 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.00837, allocations: 0 / 271 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.008388, allocations: 4 kB / 271 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.008396, allocations: 3.938 kB / 271 MB, free: 2.414 MB / 266.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.003e-05/0.008456, allocations: 135.5 kB / 271.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-06/0.00846, allocations: 0 / 271.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.101e-05/0.008471, allocations: 15.02 kB / 271.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.008473, allocations: 0 / 271.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.008474, allocations: 0 / 271.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.008476, allocations: 0 / 271.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.451e-05/0.008521, allocations: 65.84 kB / 271.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.008521, allocations: 0 / 271.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.008522, allocations: 0 / 271.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-06/0.008525, allocations: 0 / 271.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.008526, allocations: 0 / 271.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.008531, allocations: 8 kB / 271.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008531, allocations: 0 / 271.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008533, allocations: 3.984 kB / 271.3 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.219e-05/0.008605, allocations: 120.4 kB / 271.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.008617, allocations: 4 kB / 271.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-06/0.008623, allocations: 0 / 271.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.008633, allocations: 7.922 kB / 271.4 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.008634, allocations: 0 / 271.4 MB, free: 2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.951e-06/0.00864, allocations: 4.859 kB / 271.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00864, allocations: 0 / 271.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001153/0.008756, allocations: 12 kB / 271.4 MB, free: 1.98 MB / 266.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002651/0.009021, allocations: 132.1 kB / 271.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.031e-05/0.009111, allocations: 119.7 kB / 271.7 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.009114, allocations: 0 / 271.7 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.009142, allocations: 89.91 kB / 271.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.295e-05/0.009195, allocations: 7.922 kB / 271.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.009419, allocations: 108 kB / 271.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.009448, allocations: 51.36 kB / 271.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.033e-06/0.009455, allocations: 4.109 kB / 271.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.009488, allocations: 55.38 kB / 272 MB, free: 1.316 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009489, allocations: 0 / 272 MB, free: 1.316 MB / 266.7 MB Notification: Performance of Templates: time 0.002065/0.01155, allocations: 0.6021 MB / 272.6 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.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.6107598347589374]