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.001284/0.001284, allocations: 109.9 kB / 16.41 MB, free: 6.395 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.00146/0.001461, allocations: 191.3 kB / 17.34 MB, free: 5.719 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.839/1.839, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2674/0.2674, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001612/0.001612, allocations: 61.47 kB / 441.8 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1614, allocations: 57.79 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.003417/0.1649, allocations: 474.9 kB / 0.4883 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.1708, allocations: 2.326 MB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1708, allocations: 4 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.1709, allocations: 0 / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.849e-06/0.1709, allocations: 0 / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.1753, allocations: 1.121 MB / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.538e-05/0.1753, allocations: 7.938 kB / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.1754, allocations: 7.984 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.1754, allocations: 3.984 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.1755, allocations: 0 / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.1755, allocations: 4 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.1779, allocations: 0.9872 MB / 0.4927 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.178, allocations: 0 / 0.4927 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.178, allocations: 0 / 0.4927 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.1793, allocations: 419.4 kB / 0.4931 GB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1793, allocations: 0 / 0.4931 GB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.1793, allocations: 0 / 0.4931 GB, free: 6.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1793, allocations: 0 / 0.4931 GB, free: 6.484 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.0007634/0.1801, allocations: 436.6 kB / 0.4935 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1802, allocations: 15.89 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1802, allocations: 4.938 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1804, allocations: 168.3 kB / 0.4937 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1805, allocations: 384 / 0.4937 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1805, allocations: 384 / 0.4937 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1806, allocations: 38 kB / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1807, allocations: 0 / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1807, allocations: 0 / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1807, allocations: 0 / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.443e-05/0.1807, allocations: 4 kB / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.1809, allocations: 149.6 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.181, allocations: 22.5 kB / 0.4939 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.181, allocations: 8.859 kB / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.181, allocations: 4.094 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.1811, allocations: 64.19 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1811, allocations: 0 / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002254/0.1813, allocations: 63.41 kB / 0.494 GB, free: 5.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1814, allocations: 77.11 kB / 0.4941 GB, free: 5.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.1815, allocations: 97.73 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1815, allocations: 29.7 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.1815, allocations: 80.14 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1816, allocations: 4 kB / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1816, allocations: 17.64 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1818, allocations: 311 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.1818, allocations: 4 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.1818, allocations: 4 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.1819, allocations: 60.27 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1819, allocations: 0 / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.242e-05/0.182, allocations: 63.39 kB / 0.4947 GB, free: 4.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.1821, allocations: 37.64 kB / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1821, allocations: 0 / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1821, allocations: 0 / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-06/0.1821, allocations: 4.094 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1821, allocations: 0 / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1821, allocations: 3.938 kB / 0.4948 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1822, allocations: 4 kB / 0.4948 GB, free: 4.477 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.0001092/0.1823, allocations: 135.5 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1823, allocations: 3.938 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.1823, allocations: 11.11 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1823, allocations: 0 / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1824, allocations: 4 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1824, allocations: 4 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1825, allocations: 149.7 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1825, allocations: 0 / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1825, allocations: 0 / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.1825, allocations: 7.938 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1826, allocations: 3.984 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1826, allocations: 0 / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1826, allocations: 0 / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.1827, allocations: 90.84 kB / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.1828, allocations: 81.09 kB / 0.4952 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1828, allocations: 3.938 kB / 0.4952 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.1828, allocations: 0 / 0.4952 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.1828, allocations: 3.938 kB / 0.4952 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1829, allocations: 7.938 kB / 0.4952 GB, free: 3.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.1829, allocations: 75.28 kB / 0.4953 GB, free: 3.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1829, allocations: 0 / 0.4953 GB, free: 3.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007697/0.1837, allocations: 140 kB / 0.4954 GB, free: 3.656 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.001073/0.1848, allocations: 368.1 kB / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.1849, allocations: 59.41 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1849, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.185, allocations: 55.41 kB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1852, allocations: 7.922 kB / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.1854, allocations: 88.92 kB / 0.496 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.186, allocations: 0.6729 MB / 0.4967 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.1e-05/0.186, allocations: 0 / 0.4967 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.186, allocations: 11.38 kB / 0.4967 GB, free: 2.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.186, allocations: 0 / 0.4967 GB, free: 2.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01188/0.1979, allocations: 4.291 MB / 0.5009 GB, free: 14.02 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches