Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 99.69 kB / 15.98 MB, free: 6.352 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.001424/0.001424, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.506/1.506, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3673/0.3673, allocations: 43.5 MB / 313.6 MB, free: 8.566 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.001392/0.001392, allocations: 67.89 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1593, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.002115/0.1614, allocations: 0.5384 MB / 440.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.165, allocations: 2.303 MB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.165, allocations: 4 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.1651, allocations: 7.938 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-06/0.1651, allocations: 0 / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.1678, allocations: 1.04 MB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.1679, allocations: 7.875 kB / 443.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.168, allocations: 7.984 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.168, allocations: 8 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.309e-05/0.168, allocations: 3.984 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.168, allocations: 0 / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.1694, allocations: 0.9561 MB / 444.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.1694, allocations: 0 / 444.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1694, allocations: 0 / 444.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.17, allocations: 419.3 kB / 445.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.17, allocations: 3.984 kB / 445.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.17, allocations: 4 kB / 445.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.17, allocations: 0 / 445.3 MB, free: 9.406 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.0004693/0.1705, allocations: 421.2 kB / 445.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1705, allocations: 11.89 kB / 445.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.1706, allocations: 4.938 kB / 445.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1707, allocations: 168.4 kB / 445.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1707, allocations: 384 / 445.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1707, allocations: 384 / 445.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.1708, allocations: 34.02 kB / 445.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1708, allocations: 7.938 kB / 445.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1709, allocations: 0 / 445.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1709, allocations: 0 / 445.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.1709, allocations: 0 / 445.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.171, allocations: 150 kB / 446.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.1711, allocations: 22.58 kB / 446.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.1711, allocations: 4.859 kB / 446.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.1711, allocations: 0 / 446.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.1712, allocations: 68.27 kB / 446.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.1712, allocations: 0 / 446.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001809/0.1714, allocations: 71.23 kB / 446.2 MB, free: 8.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1714, allocations: 77.11 kB / 446.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/0.1715, allocations: 97.8 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1715, allocations: 25.7 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.1715, allocations: 80.14 kB / 446.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1716, allocations: 8.062 kB / 446.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.1716, allocations: 13.72 kB / 446.5 MB, free: 7.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1717, allocations: 310.8 kB / 446.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1717, allocations: 0 / 446.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.1717, allocations: 7.984 kB / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.1718, allocations: 64.2 kB / 446.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1718, allocations: 4 kB / 446.9 MB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.457e-05/0.1719, allocations: 55.47 kB / 447 MB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.1719, allocations: 45.61 kB / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1719, allocations: 0 / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.172, allocations: 3.984 kB / 447 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.172, allocations: 0 / 447 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.172, allocations: 4 kB / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.172, allocations: 0 / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.172, allocations: 0 / 447 MB, free: 7.41 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 0.0001202/0.1721, allocations: 135.5 kB / 447.1 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.1722, allocations: 3.938 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.175e-05/0.1722, allocations: 7.125 kB / 447.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1722, allocations: 0 / 447.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1722, allocations: 4 kB / 447.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1722, allocations: 0 / 447.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.1723, allocations: 153.7 kB / 447.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1723, allocations: 0 / 447.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1723, allocations: 0 / 447.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1723, allocations: 3.938 kB / 447.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1723, allocations: 7.984 kB / 447.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1723, allocations: 3.938 kB / 447.3 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1724, allocations: 4 kB / 447.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.1725, allocations: 90.83 kB / 447.4 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.1725, allocations: 77.11 kB / 447.5 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1725, allocations: 3.938 kB / 447.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-06/0.1725, allocations: 0 / 447.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.1726, allocations: 0 / 447.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1726, allocations: 7.938 kB / 447.5 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.1726, allocations: 79.31 kB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.173, allocations: 140 kB / 447.7 MB, free: 6.594 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.0007038/0.1737, allocations: 374.2 kB / 448.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1739, allocations: 63.33 kB / 448.1 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1739, allocations: 0 / 448.1 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.1739, allocations: 59.34 kB / 448.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.174, allocations: 0 / 448.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.1742, allocations: 92.91 kB / 448.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1745, allocations: 0.6691 MB / 449 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.111e-06/0.1745, allocations: 4 kB / 449 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.1745, allocations: 11.44 kB / 449 MB, free: 5.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1745, allocations: 0 / 449 MB, free: 5.254 MB / 382.1 MB Notification: Performance of Templates: time 0.008845/0.1834, allocations: 4.295 MB / 453.3 MB, free: 0.9531 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches