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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008701/0.008708, allocations: 100.3 kB / 15.87 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 194.4 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.317/0.317, allocations: 43.5 MB / 313.5 MB, free: 8.531 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 68.23 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1525, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.002051/0.1547, allocations: 0.562 MB / 440.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1569, allocations: 1.416 MB / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.1569, allocations: 0 / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.157, allocations: 4 kB / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.157, allocations: 0 / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.1575, allocations: 91.83 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.1576, allocations: 4 kB / 441.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.1576, allocations: 0 / 441.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.1577, allocations: 4 kB / 441.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/0.1577, allocations: 3.938 kB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1577, allocations: 0 / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.1579, allocations: 39.97 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.1579, allocations: 3.938 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.158, allocations: 0 / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1581, allocations: 43.94 kB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1581, allocations: 4 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1581, allocations: 0 / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1581, allocations: 0 / 442 MB, free: 12.66 MB / 382.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.0003643/0.1585, allocations: 345.3 kB / 442.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1585, allocations: 8.031 kB / 442.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.1586, allocations: 0.9375 kB / 442.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1587, allocations: 164.4 kB / 442.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1587, allocations: 4.375 kB / 442.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1587, allocations: 4.375 kB / 442.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.1588, allocations: 37.95 kB / 442.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1588, allocations: 0 / 442.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1589, allocations: 0 / 442.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1589, allocations: 0 / 442.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1589, allocations: 4 kB / 442.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.159, allocations: 145.7 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.1591, allocations: 18.61 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.1591, allocations: 12.86 kB / 442.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.1591, allocations: 3.938 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.1592, allocations: 64.14 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1592, allocations: 0 / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001992/0.1594, allocations: 67.36 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.1595, allocations: 77.11 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.767e-05/0.1595, allocations: 93.86 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1595, allocations: 25.7 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.1596, allocations: 92.2 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.1596, allocations: 0 / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.1596, allocations: 9.719 kB / 443.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1598, allocations: 314.8 kB / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.1598, allocations: 0 / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.1598, allocations: 4 kB / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.1599, allocations: 72.19 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1599, allocations: 4.062 kB / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.138e-05/0.16, allocations: 63.41 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.16, allocations: 33.64 kB / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1601, allocations: 0 / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1601, allocations: 0 / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.1601, allocations: 0 / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1601, allocations: 4 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.1601, allocations: 0 / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1601, allocations: 3.984 kB / 443.6 MB, free: 10.75 MB / 382.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 8.961e-05/0.1602, allocations: 139.6 kB / 443.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.1602, allocations: 3.938 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.106e-05/0.1603, allocations: 3.125 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1603, allocations: 0 / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1603, allocations: 0 / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1603, allocations: 3.984 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1604, allocations: 153.7 kB / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1604, allocations: 0 / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.1604, allocations: 3.938 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1604, allocations: 3.938 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1604, allocations: 3.984 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1604, allocations: 4 kB / 443.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1604, allocations: 0 / 443.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.1606, allocations: 94.77 kB / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.1606, allocations: 77.11 kB / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1606, allocations: 3.938 kB / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-06/0.1606, allocations: 4 kB / 444.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.1607, allocations: 0 / 444.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1607, allocations: 4.031 kB / 444.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.1607, allocations: 75.28 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1607, allocations: 0 / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1609, allocations: 12 kB / 444.2 MB, free: 10.06 MB / 382.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.0002974/0.1612, allocations: 147.2 kB / 444.3 MB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.1613, allocations: 67.33 kB / 444.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1614, allocations: 4.062 kB / 444.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.1614, allocations: 55.41 kB / 444.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1615, allocations: 3.438 kB / 444.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.1617, allocations: 78.77 kB / 444.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.162, allocations: 0.6731 MB / 445.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.95e-06/0.162, allocations: 3.938 kB / 445.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-06/0.162, allocations: 7.438 kB / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.162, allocations: 0 / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of Templates: time 0.002943/0.1649, allocations: 0.7073 MB / 445.9 MB, free: 8.246 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches