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.001519/0.001519, allocations: 92.2 kB / 20.21 MB, free: 4.199 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.001718/0.001718, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 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 1.474/1.474, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2313/0.2313, allocations: 32.38 MB / 270 MB, free: 14.86 MB / 266.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.819e-05, allocations: 6.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001283/0.001311, allocations: 0.4947 MB / 347.4 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.002962, allocations: 1.387 MB / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.002988, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.003004, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.00301, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.003475, allocations: 115.4 kB / 348.9 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.003521, allocations: 0 / 348.9 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.003563, allocations: 7.984 kB / 348.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.00359, allocations: 0 / 348.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.00362, allocations: 4 kB / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.00364, allocations: 0 / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.003921, allocations: 67.88 kB / 349 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.003932, allocations: 0 / 349 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.003958, allocations: 0 / 349 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.004063, allocations: 31.95 kB / 349 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004065, allocations: 0 / 349 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004066, allocations: 4 kB / 349 MB, free: 7.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.00407, allocations: 0 / 349 MB, free: 7.703 MB / 282.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.0002594/0.004329, allocations: 276.1 kB / 349.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.004367, allocations: 8.031 kB / 349.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.004418, allocations: 0.9375 kB / 349.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.559e-05/0.004473, allocations: 105.8 kB / 349.4 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004488, allocations: 4.312 kB / 349.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.004496, allocations: 384 / 349.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.004597, allocations: 63.91 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.004606, allocations: 4.188 kB / 349.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.004614, allocations: 4.375 kB / 349.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004619, allocations: 3.938 kB / 349.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.004642, allocations: 29.7 kB / 349.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.853e-05/0.004721, allocations: 101.3 kB / 349.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.004764, allocations: 44.31 kB / 349.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.004781, allocations: 30.56 kB / 349.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.004791, allocations: 0 / 349.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.004819, allocations: 64.27 kB / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.00482, allocations: 0 / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.004999, allocations: 118.8 kB / 349.9 MB, free: 6.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.005031, allocations: 85.17 kB / 350 MB, free: 6.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.549e-05/0.005056, allocations: 89.86 kB / 350 MB, free: 6.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.005064, allocations: 25.7 kB / 350.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.392e-05/0.005078, allocations: 80.14 kB / 350.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.005096, allocations: 4 kB / 350.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.005118, allocations: 13.72 kB / 350.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.005178, allocations: 314.8 kB / 350.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.005193, allocations: 29.7 kB / 350.5 MB, free: 6.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.005204, allocations: 29.64 kB / 350.5 MB, free: 5.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.005247, allocations: 64.33 kB / 350.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005249, allocations: 0 / 350.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.915e-05/0.005308, allocations: 93.09 kB / 350.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.005329, allocations: 29.7 kB / 350.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005334, allocations: 0 / 350.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.005354, allocations: 4 kB / 350.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.005354, allocations: 0 / 350.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.00536, allocations: 3.938 kB / 350.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.005375, allocations: 3.953 kB / 350.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.005382, allocations: 0 / 350.7 MB, free: 5.734 MB / 282.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 5.999e-05/0.005442, allocations: 143.6 kB / 350.9 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-06/0.005451, allocations: 3.938 kB / 350.9 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.507e-06/0.005461, allocations: 3 kB / 350.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005463, allocations: 7.938 kB / 350.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.005467, allocations: 0 / 350.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.00547, allocations: 3.938 kB / 350.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.086e-05/0.005511, allocations: 97.33 kB / 351 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005512, allocations: 0 / 351 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.005512, allocations: 0 / 351 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.005514, allocations: 4 kB / 351 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.00552, allocations: 0 / 351 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.005522, allocations: 7.984 kB / 351 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005523, allocations: 0 / 351 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.005602, allocations: 124.5 kB / 351.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.005607, allocations: 3.984 kB / 351.1 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.005619, allocations: 4 kB / 351.1 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-06/0.005628, allocations: 4 kB / 351.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.005645, allocations: 0 / 351.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005647, allocations: 0 / 351.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.736e-05/0.005665, allocations: 83.16 kB / 351.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005665, allocations: 4 kB / 351.2 MB, free: 5.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.005868, allocations: 12.03 kB / 351.2 MB, free: 5.16 MB / 282.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.0002618/0.00613, allocations: 134 kB / 351.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.006221, allocations: 118.8 kB / 351.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.006223, allocations: 0 / 351.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.006245, allocations: 81.11 kB / 351.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.006395, allocations: 0 / 351.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.006564, allocations: 112 kB / 351.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.793e-05/0.006592, allocations: 59.48 kB / 351.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.31e-06/0.006597, allocations: 0 / 351.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.066e-05/0.006608, allocations: 8.5 kB / 351.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of SimCode: time 3.7e-07/0.006609, allocations: 0 / 351.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of Templates: time 0.002994/0.009603, allocations: 0.5532 MB / 352.3 MB, free: 4.016 MB / 282.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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: 4.782333693001419]