Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008833/0.0008833, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009015/0.0009015, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9726/0.9726, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.26e-05, allocations: 2.312 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001665/0.001688, allocations: 0.5461 MB / 326.5 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.003907, allocations: 1.642 MB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.003932, allocations: 0 / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.003946, allocations: 0 / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.003953, allocations: 0 / 328.1 MB, free: 4.949 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:4:3-36:22:writable] Warning: Pure function 'ModelicaTest.Math.ScalarFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.00458, allocations: 155.1 kB / 328.3 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.004634, allocations: 7.984 kB / 328.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.004677, allocations: 0.625 kB / 328.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.004708, allocations: 3.938 kB / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.004737, allocations: 0 / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.004746, allocations: 4 kB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.005138, allocations: 119.9 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.005146, allocations: 4 kB / 328.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.00516, allocations: 0 / 328.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.00528, allocations: 47.83 kB / 328.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005283, allocations: 0 / 328.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005284, allocations: 0 / 328.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005288, allocations: 0 / 328.5 MB, free: 4.613 MB / 298.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.0002415/0.005529, allocations: 254.3 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.005566, allocations: 8.031 kB / 328.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.005591, allocations: 0.9375 kB / 328.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.33e-05/0.005665, allocations: 113.7 kB / 328.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.005674, allocations: 384 / 328.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.00568, allocations: 4.375 kB / 328.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.029e-05/0.00575, allocations: 59.95 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005758, allocations: 192 / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.005765, allocations: 384 / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.005775, allocations: 3.938 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.005798, allocations: 25.7 kB / 328.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.005898, allocations: 57.05 kB / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.005958, allocations: 48.25 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.005986, allocations: 34.56 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.005991, allocations: 0 / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.006042, allocations: 72.31 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.006043, allocations: 0 / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001352/0.006178, allocations: 106.8 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.006225, allocations: 77.11 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.006276, allocations: 93.86 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.006287, allocations: 25.7 kB / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.006312, allocations: 84.08 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.006331, allocations: 1.375 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.006365, allocations: 21.7 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.006471, allocations: 318.7 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.006488, allocations: 29.83 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.006505, allocations: 29.7 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.006558, allocations: 64.27 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006559, allocations: 0 / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.962e-05/0.006629, allocations: 85.09 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.006657, allocations: 29.7 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006662, allocations: 0 / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.006677, allocations: 4 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.00668, allocations: 3.938 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006682, allocations: 4.094 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.006694, allocations: 0 / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.0067, allocations: 3.938 kB / 330.1 MB, free: 2.73 MB / 298.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.911e-05/0.006769, allocations: 143.5 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.006776, allocations: 0 / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.006786, allocations: 3 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006787, allocations: 0 / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.00679, allocations: 4 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.006792, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.652e-05/0.006849, allocations: 62.59 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006851, allocations: 4 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.006852, allocations: 4 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.006853, allocations: 0 / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.006858, allocations: 7.984 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006859, allocations: 0 / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006859, allocations: 0 / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.006942, allocations: 116.4 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-06/0.006947, allocations: 352 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.006959, allocations: 8 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-06/0.006966, allocations: 0 / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-06/0.006976, allocations: 3.984 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.006978, allocations: 4.031 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.923e-06/0.006985, allocations: 8.859 kB / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006985, allocations: 0 / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.007168, allocations: 15.94 kB / 330.5 MB, free: 2.289 MB / 298.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.0003193/0.007488, allocations: 127.7 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.007631, allocations: 123.7 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.007635, allocations: 4.062 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.00767, allocations: 85.97 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.054e-05/0.007741, allocations: 7.875 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.00792, allocations: 112.8 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.007949, allocations: 55.36 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.19e-06/0.007954, allocations: 0 / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.007998, allocations: 51.38 kB / 331 MB, free: 1.633 MB / 298.7 MB Notification: Performance of SimCode: time 1.864e-06/0.008, allocations: 0 / 331 MB, free: 1.633 MB / 298.7 MB Notification: Performance of Templates: time 0.002297/0.0103, allocations: 0.7538 MB / 331.8 MB, free: 0.8867 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6857719579711556]