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.002032/0.002032, allocations: 104.3 kB / 19.7 MB, free: 2.059 MB / 14.72 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.002656/0.002656, allocations: 212.9 kB / 22.99 MB, free: 4.879 MB / 14.72 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.561/1.561, allocations: 207.7 MB / 233.8 MB, free: 9.777 MB / 190.1 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.2245/0.2245, allocations: 44.27 MB / 330.4 MB, free: 9.293 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 71.89 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1661, allocations: 61.04 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.002865/0.169, allocations: 0.491 MB / 0.5171 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.1724, allocations: 1.387 MB / 0.5185 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.1724, allocations: 4 kB / 0.5185 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.1724, allocations: 0 / 0.5185 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-06/0.1724, allocations: 0 / 0.5185 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.1733, allocations: 111.6 kB / 0.5186 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.1734, allocations: 3.984 kB / 0.5186 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.1735, allocations: 4 kB / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.1735, allocations: 4 kB / 0.5186 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.1735, allocations: 3.938 kB / 0.5186 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1736, allocations: 0 / 0.5186 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.1741, allocations: 75.86 kB / 0.5187 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.1741, allocations: 0 / 0.5187 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1742, allocations: 4 kB / 0.5187 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1743, allocations: 27.91 kB / 0.5187 GB, free: 4.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1743, allocations: 0 / 0.5187 GB, free: 4.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1743, allocations: 0 / 0.5187 GB, free: 4.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1743, allocations: 0 / 0.5187 GB, free: 4.555 MB / 398.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.0003717/0.1747, allocations: 272.2 kB / 0.519 GB, free: 4.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1747, allocations: 8.031 kB / 0.519 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1748, allocations: 0.9375 kB / 0.519 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.336e-05/0.1749, allocations: 106.5 kB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1749, allocations: 384 / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.1749, allocations: 384 / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.175, allocations: 67.7 kB / 0.5191 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.175, allocations: 0 / 0.5191 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.175, allocations: 0 / 0.5191 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.175, allocations: 0 / 0.5191 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.037e-05/0.1751, allocations: 29.64 kB / 0.5192 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1752, allocations: 101.3 kB / 0.5193 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.1753, allocations: 44.31 kB / 0.5193 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.1753, allocations: 38.55 kB / 0.5193 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1753, allocations: 3.938 kB / 0.5193 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.1754, allocations: 60.33 kB / 0.5194 GB, free: 3.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1754, allocations: 0 / 0.5194 GB, free: 3.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000236/0.1756, allocations: 118.7 kB / 0.5195 GB, free: 3.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.1757, allocations: 81.09 kB / 0.5196 GB, free: 3.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.1758, allocations: 97.8 kB / 0.5197 GB, free: 3.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1758, allocations: 29.83 kB / 0.5197 GB, free: 3.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.1758, allocations: 80.14 kB / 0.5198 GB, free: 3.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.1759, allocations: 0 / 0.5198 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1759, allocations: 13.72 kB / 0.5198 GB, free: 3.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1761, allocations: 310.8 kB / 0.5201 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.1761, allocations: 29.7 kB / 0.5201 GB, free: 2.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.1761, allocations: 25.7 kB / 0.5201 GB, free: 2.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.1762, allocations: 68.25 kB / 0.5202 GB, free: 2.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1762, allocations: 0 / 0.5202 GB, free: 2.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000113/0.1763, allocations: 89.11 kB / 0.5203 GB, free: 2.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.1763, allocations: 33.73 kB / 0.5203 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1764, allocations: 0 / 0.5203 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1764, allocations: 3.938 kB / 0.5203 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-06/0.1764, allocations: 3.984 kB / 0.5203 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1764, allocations: 4 kB / 0.5203 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.1764, allocations: 0 / 0.5203 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1764, allocations: 0 / 0.5203 GB, free: 2.594 MB / 398.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 () * 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 0.0001168/0.1765, allocations: 139.5 kB / 0.5205 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.1765, allocations: 0 / 0.5205 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.1765, allocations: 6.938 kB / 0.5205 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1765, allocations: 4 kB / 0.5205 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1765, allocations: 0 / 0.5205 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1766, allocations: 0 / 0.5205 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1767, allocations: 101.3 kB / 0.5206 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1767, allocations: 0 / 0.5206 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-06/0.1767, allocations: 4 kB / 0.5206 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1767, allocations: 0 / 0.5206 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1767, allocations: 0 / 0.5206 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1767, allocations: 3.938 kB / 0.5206 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1767, allocations: 4 kB / 0.5206 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1769, allocations: 128.4 kB / 0.5207 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.1769, allocations: 0 / 0.5207 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1769, allocations: 0 / 0.5207 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.1769, allocations: 3.938 kB / 0.5207 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.1769, allocations: 7.984 kB / 0.5207 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1769, allocations: 0 / 0.5207 GB, free: 2.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.177, allocations: 79.31 kB / 0.5208 GB, free: 2.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.177, allocations: 0 / 0.5208 GB, free: 2.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1772, allocations: 15.94 kB / 0.5208 GB, free: 2.031 MB / 398.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) * 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.0003291/0.1775, allocations: 143.9 kB / 0.5209 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1777, allocations: 106.8 kB / 0.5211 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1777, allocations: 0 / 0.5211 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.1777, allocations: 93.03 kB / 0.5211 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1779, allocations: 4 kB / 0.5211 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.1781, allocations: 106.6 kB / 0.5212 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.1782, allocations: 55.34 kB / 0.5213 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.913e-06/0.1782, allocations: 4 kB / 0.5213 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.1782, allocations: 7.562 kB / 0.5213 GB, free: 1.418 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1782, allocations: 4 kB / 0.5213 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Templates: time 0.003644/0.1818, allocations: 0.5047 MB / 0.5218 GB, free: 0.9102 MB / 398.1 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: 5.128272779285908]