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.001089/0.001089, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 174.7 kB / 16.58 MB, free: 6.844 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.564/1.564, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.4297/0.4297, allocations: 43.57 MB / 314.6 MB, free: 8.809 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.0005328/0.0005328, allocations: 19.98 kB / 384 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1641, allocations: 58.86 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0007793/0.165, allocations: 204.5 kB / 443 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.1688, allocations: 2.164 MB / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.1688, allocations: 0 / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.1689, allocations: 0 / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.568e-06/0.1689, allocations: 0 / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.1719, allocations: 0.9155 MB / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.1719, allocations: 0 / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.172, allocations: 0 / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.172, allocations: 0 / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.1721, allocations: 4 kB / 446.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.1721, allocations: 0 / 446.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.1737, allocations: 0.8975 MB / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.1737, allocations: 0 / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.1737, allocations: 25.7 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.1741, allocations: 263.5 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1741, allocations: 0 / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1741, allocations: 0 / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1741, allocations: 0 / 447.3 MB, free: 8.562 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.0004747/0.1746, allocations: 421 kB / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1747, allocations: 8.031 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.1747, allocations: 7.953 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1749, allocations: 163 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1749, allocations: 0 / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1749, allocations: 4 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.175, allocations: 29.69 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1751, allocations: 0 / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1751, allocations: 0 / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1751, allocations: 0 / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.1751, allocations: 11.89 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.1753, allocations: 153.9 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.1754, allocations: 30.59 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.1754, allocations: 4.859 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.1754, allocations: 0 / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.1755, allocations: 56.27 kB / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.1755, allocations: 0 / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002453/0.1758, allocations: 71.31 kB / 448.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.1758, allocations: 81.09 kB / 448.3 MB, free: 7.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.299e-05/0.1759, allocations: 89.86 kB / 448.4 MB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1759, allocations: 29.7 kB / 448.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.176, allocations: 80.14 kB / 448.5 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.176, allocations: 3.938 kB / 448.5 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.176, allocations: 3.938 kB / 448.5 MB, free: 7.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1762, allocations: 318.8 kB / 448.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.1762, allocations: 128 / 448.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-06/0.1762, allocations: 8 kB / 448.8 MB, free: 6.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.1762, allocations: 25.7 kB / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1762, allocations: 0 / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.577e-05/0.1763, allocations: 63.39 kB / 448.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.1764, allocations: 29.7 kB / 448.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1764, allocations: 0 / 448.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1764, allocations: 0 / 448.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-06/0.1764, allocations: 4 kB / 448.9 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1764, allocations: 0 / 448.9 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1764, allocations: 4.094 kB / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1765, allocations: 0 / 448.9 MB, free: 6.637 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.1766, allocations: 147.5 kB / 449.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.1766, allocations: 3.984 kB / 449.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.1766, allocations: 3.125 kB / 449.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.1766, allocations: 3.938 kB / 449.1 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1766, allocations: 0 / 449.1 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1766, allocations: 0 / 449.1 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.1768, allocations: 149.6 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1768, allocations: 4 kB / 449.2 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-06/0.1768, allocations: 4 kB / 449.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1768, allocations: 3.938 kB / 449.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1768, allocations: 3.984 kB / 449.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1768, allocations: 0 / 449.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1768, allocations: 0 / 449.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1769, allocations: 90.8 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.177, allocations: 81.09 kB / 449.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.177, allocations: 8.031 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.177, allocations: 3.938 kB / 449.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.1771, allocations: 0 / 449.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1771, allocations: 0 / 449.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.666e-05/0.1771, allocations: 75.28 kB / 449.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1771, allocations: 0 / 449.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004459/0.1776, allocations: 140 kB / 449.6 MB, free: 5.82 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 (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.0007714/0.1783, allocations: 374.6 kB / 450 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1785, allocations: 59.39 kB / 450.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1785, allocations: 0 / 450.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.1785, allocations: 59.47 kB / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1786, allocations: 3.953 kB / 450.1 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.1789, allocations: 78.77 kB / 450.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1792, allocations: 0.6731 MB / 450.9 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.105e-06/0.1793, allocations: 0 / 450.9 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.1793, allocations: 7.438 kB / 450.9 MB, free: 4.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1793, allocations: 0 / 450.9 MB, free: 4.5 MB / 382.1 MB Notification: Performance of Templates: time 0.008481/0.1878, allocations: 4.087 MB / 455 MB, free: 416 kB / 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