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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009679/0.0009677, allocations: 199 kB / 8.767 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008414/0.0008415, allocations: 97.89 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 45.15 MB / 383.7 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.417e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 63.25 MB / 0.5043 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5733, allocations: 86.87 MB / 0.5892 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5736, allocations: 62.47 kB / 0.5892 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02085/0.5945, allocations: 7.885 MB / 0.5969 GB, free: 9.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5945, allocations: 0 / 0.5969 GB, free: 9.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.5945, allocations: 0 / 0.5969 GB, free: 9.363 MB / 394.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.0003574/0.5949, allocations: 407.8 kB / 0.5973 GB, free: 8.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5949, allocations: 12.03 kB / 0.5973 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.595, allocations: 0 / 0.5973 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/0.5951, allocations: 167 kB / 0.5975 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5951, allocations: 0 / 0.5975 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.5951, allocations: 0 / 0.5975 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.553e-05/0.5952, allocations: 7.938 kB / 0.5975 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.219e-05/0.5952, allocations: 33.06 kB / 0.5975 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5952, allocations: 0 / 0.5975 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5953, allocations: 7.984 kB / 0.5975 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5953, allocations: 0 / 0.5975 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.5954, allocations: 130.2 kB / 0.5977 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.537e-05/0.5954, allocations: 14.58 kB / 0.5977 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.5954, allocations: 4.859 kB / 0.5977 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-06/0.5954, allocations: 0.8438 kB / 0.5977 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5955, allocations: 64.3 kB / 0.5978 GB, free: 8.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5955, allocations: 4 kB / 0.5978 GB, free: 8.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001759/0.5957, allocations: 41.61 kB / 0.5978 GB, free: 8.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5957, allocations: 77.11 kB / 0.5979 GB, free: 8.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.522e-05/0.5958, allocations: 89 kB / 0.598 GB, free: 8.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.5958, allocations: 25.7 kB / 0.598 GB, free: 8.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.5958, allocations: 80.14 kB / 0.5981 GB, free: 8.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.5958, allocations: 0 / 0.5981 GB, free: 8.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.5958, allocations: 3.938 kB / 0.5981 GB, free: 8.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.5959, allocations: 314.9 kB / 0.5984 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.596, allocations: 0 / 0.5984 GB, free: 7.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-06/0.596, allocations: 7.375 kB / 0.5984 GB, free: 7.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.596, allocations: 7.922 kB / 0.5984 GB, free: 7.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.596, allocations: 0 / 0.5984 GB, free: 7.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.867e-05/0.5961, allocations: 37.66 kB / 0.5984 GB, free: 7.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5961, allocations: 29.7 kB / 0.5984 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5961, allocations: 3.938 kB / 0.5984 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5962, allocations: 0 / 0.5984 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.5962, allocations: 4.094 kB / 0.5984 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5962, allocations: 3.984 kB / 0.5984 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.067e-05/0.5962, allocations: 4 kB / 0.5985 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.5962, allocations: 0 / 0.5985 GB, free: 7.605 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.5963, allocations: 126.7 kB / 0.5986 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.5963, allocations: 7.953 kB / 0.5986 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.5963, allocations: 7.703 kB / 0.5986 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.5963, allocations: 0 / 0.5986 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5963, allocations: 0 / 0.5986 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5963, allocations: 4 kB / 0.5986 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.801e-05/0.5964, allocations: 129.9 kB / 0.5987 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5964, allocations: 0 / 0.5987 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-06/0.5964, allocations: 4 kB / 0.5987 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.5964, allocations: 0 / 0.5987 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5964, allocations: 0 / 0.5987 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5964, allocations: 3.953 kB / 0.5987 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5965, allocations: 0 / 0.5987 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.72e-05/0.5965, allocations: 65.12 kB / 0.5988 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.5966, allocations: 80.36 kB / 0.5989 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5966, allocations: 3.938 kB / 0.5989 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-06/0.5966, allocations: 0 / 0.5989 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.5966, allocations: 7.953 kB / 0.5989 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5967, allocations: 4 kB / 0.5989 GB, free: 7.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.337e-05/0.5967, allocations: 75.28 kB / 0.599 GB, free: 7.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5967, allocations: 0 / 0.599 GB, free: 7.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.5969, allocations: 4 kB / 0.599 GB, free: 7.016 MB / 394.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.5971, allocations: 114.5 kB / 0.5991 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.21e-05/0.5972, allocations: 55.41 kB / 0.5991 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5972, allocations: 0 / 0.5991 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.5973, allocations: 58.97 kB / 0.5992 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.505e-05/0.5974, allocations: 5.484 kB / 0.5992 GB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001313/0.5975, allocations: 48.19 kB / 0.5992 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.5978, allocations: 0.6768 MB / 0.5999 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.935e-06/0.5978, allocations: 0 / 0.5999 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.041e-05/0.5978, allocations: 11.38 kB / 0.5999 GB, free: 5.973 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5978, allocations: 0 / 0.5999 GB, free: 5.973 MB / 394.7 MB Notification: Performance of Templates: time 0.001956/0.5998, allocations: 283.4 kB / 0.6002 GB, free: 5.707 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches