Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002158/0.002158, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 78.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2956/0.2956, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.936e-05, allocations: 4 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.5753, allocations: 84.81 MB / 0.5487 GB, free: 14.52 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5756, allocations: 63.97 kB / 0.5488 GB, free: 14.45 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03119/0.6068, allocations: 6.324 MB / 0.5549 GB, free: 8.125 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6069, allocations: 0 / 0.5549 GB, free: 8.125 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.6069, allocations: 4 kB / 0.555 GB, free: 8.121 MB / 395.1 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.0003772/0.6073, allocations: 360.2 kB / 0.5553 GB, free: 7.719 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.6074, allocations: 12.03 kB / 0.5553 GB, free: 7.707 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.6074, allocations: 3.938 kB / 0.5553 GB, free: 7.703 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6075, allocations: 163 kB / 0.5555 GB, free: 7.504 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6076, allocations: 7.984 kB / 0.5555 GB, free: 7.496 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.6076, allocations: 3.938 kB / 0.5555 GB, free: 7.492 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.331e-05/0.6076, allocations: 0 / 0.5555 GB, free: 7.492 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.6077, allocations: 29.7 kB / 0.5555 GB, free: 7.457 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.6077, allocations: 0 / 0.5555 GB, free: 7.457 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6078, allocations: 4 kB / 0.5555 GB, free: 7.453 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6078, allocations: 0 / 0.5555 GB, free: 7.453 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.6079, allocations: 134.2 kB / 0.5556 GB, free: 7.285 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.608, allocations: 14.58 kB / 0.5557 GB, free: 7.262 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.608, allocations: 8.953 kB / 0.5557 GB, free: 7.25 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.608, allocations: 0 / 0.5557 GB, free: 7.25 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.6081, allocations: 64.19 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.6081, allocations: 0 / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001947/0.6083, allocations: 37.7 kB / 0.5558 GB, free: 7.129 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.6084, allocations: 77.11 kB / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.6084, allocations: 85 kB / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.6085, allocations: 29.7 kB / 0.5559 GB, free: 6.91 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.6085, allocations: 150.6 kB / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.6086, allocations: 0 / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.6086, allocations: 0 / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6087, allocations: 318.8 kB / 0.5564 GB, free: 6.441 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.6087, allocations: 4.031 kB / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.6087, allocations: 0 / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.6088, allocations: 0 / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6088, allocations: 0 / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.831e-05/0.6089, allocations: 41.59 kB / 0.5564 GB, free: 6.391 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.609, allocations: 29.7 kB / 0.5565 GB, free: 6.355 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.609, allocations: 4 kB / 0.5565 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.609, allocations: 3.984 kB / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-06/0.609, allocations: 0 / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.609, allocations: 0 / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.6091, allocations: 4.094 kB / 0.5565 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.6091, allocations: 3.938 kB / 0.5565 GB, free: 6.34 MB / 395.1 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 0.0001016/0.6092, allocations: 134.7 kB / 0.5566 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.6092, allocations: 7.891 kB / 0.5566 GB, free: 6.188 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.6092, allocations: 3.75 kB / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6093, allocations: 0 / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6093, allocations: 0 / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6093, allocations: 3.984 kB / 0.5566 GB, free: 6.18 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.6094, allocations: 134.2 kB / 0.5567 GB, free: 6.012 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6094, allocations: 4 kB / 0.5567 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.6094, allocations: 0 / 0.5567 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6094, allocations: 0 / 0.5567 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.6094, allocations: 0 / 0.5567 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6095, allocations: 3.953 kB / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6095, allocations: 0 / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.6096, allocations: 69.06 kB / 0.5568 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.6097, allocations: 77.11 kB / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.6097, allocations: 4.031 kB / 0.5569 GB, free: 5.82 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.948e-05/0.6097, allocations: 4 kB / 0.5569 GB, free: 5.816 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.6097, allocations: 3.953 kB / 0.5569 GB, free: 5.812 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.6098, allocations: 0 / 0.5569 GB, free: 5.812 MB / 395.1 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.6098, allocations: 75.28 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6098, allocations: 0 / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.6101, allocations: 4 kB / 0.557 GB, free: 5.734 MB / 395.1 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.0003475/0.6104, allocations: 132.5 kB / 0.5571 GB, free: 5.598 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.6106, allocations: 59.34 kB / 0.5572 GB, free: 5.527 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6106, allocations: 0 / 0.5572 GB, free: 5.527 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.6107, allocations: 59.41 kB / 0.5572 GB, free: 5.457 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.6108, allocations: 0 / 0.5572 GB, free: 5.457 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.611, allocations: 73.7 kB / 0.5573 GB, free: 5.355 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6113, allocations: 0.6768 MB / 0.558 GB, free: 4.652 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.6113, allocations: 15.5 kB / 0.558 GB, free: 4.637 MB / 395.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6113, allocations: 0 / 0.558 GB, free: 4.637 MB / 395.1 MB Notification: Performance of Templates: time 0.00223/0.6136, allocations: 438.4 kB / 0.5584 GB, free: 4.211 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches