Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002216/0.002216, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.776/2.776, allocations: 205.4 MB / 223.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 96.02 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6269/0.6269, allocations: 43.55 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.000652, allocations: 12 kB / 432.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2032, allocations: 58.85 MB / 491.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/0.7702, allocations: 88.81 MB / 0.5667 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/0.7706, allocations: 67.97 kB / 0.5667 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0536/0.8243, allocations: 9.631 MB / 0.5761 GB, free: 3.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.359e-06/0.8243, allocations: 0 / 0.5761 GB, free: 3.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.8244, allocations: 0 / 0.5761 GB, free: 3.816 MB / 394.7 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.001043/0.8254, allocations: 472.8 kB / 0.5766 GB, free: 3.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.8255, allocations: 12.03 kB / 0.5766 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.8256, allocations: 8.922 kB / 0.5766 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.8258, allocations: 160.4 kB / 0.5767 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.8258, allocations: 384 / 0.5767 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.8258, allocations: 384 / 0.5767 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.826, allocations: 34.27 kB / 0.5768 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.826, allocations: 1.125 kB / 0.5768 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.826, allocations: 3.938 kB / 0.5768 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8261, allocations: 0 / 0.5768 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.8261, allocations: 7.625 kB / 0.5768 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.8263, allocations: 153.7 kB / 0.5769 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.641e-05/0.8264, allocations: 14.58 kB / 0.577 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.8265, allocations: 5.297 kB / 0.577 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.8265, allocations: 4.094 kB / 0.577 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.162e-05/0.8266, allocations: 60.27 kB / 0.577 GB, free: 2.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.505e-06/0.8266, allocations: 0 / 0.577 GB, free: 2.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002794/0.8269, allocations: 74.89 kB / 0.5771 GB, free: 2.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.827, allocations: 81.23 kB / 0.5772 GB, free: 2.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.428e-05/0.8271, allocations: 89.86 kB / 0.5773 GB, free: 2.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.8271, allocations: 25.7 kB / 0.5773 GB, free: 2.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.8272, allocations: 80.14 kB / 0.5774 GB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.8272, allocations: 8.922 kB / 0.5774 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.8273, allocations: 7.938 kB / 0.5774 GB, free: 2.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8274, allocations: 310.8 kB / 0.5777 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.8275, allocations: 0 / 0.5777 GB, free: 2.008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.8275, allocations: 4 kB / 0.5777 GB, free: 2.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.8276, allocations: 64.25 kB / 0.5777 GB, free: 1.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.8276, allocations: 0 / 0.5777 GB, free: 1.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001356/0.8277, allocations: 67.34 kB / 0.5778 GB, free: 1.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.8278, allocations: 29.7 kB / 0.5778 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8278, allocations: 0 / 0.5778 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.8279, allocations: 3.938 kB / 0.5778 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-06/0.8279, allocations: 4 kB / 0.5778 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.8279, allocations: 3.984 kB / 0.5778 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.828, allocations: 4.094 kB / 0.5778 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.828, allocations: 0 / 0.5778 GB, free: 1.797 MB / 394.7 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.0001367/0.8281, allocations: 135.5 kB / 0.578 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.8281, allocations: 0 / 0.578 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.8282, allocations: 7.062 kB / 0.578 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8282, allocations: 0 / 0.578 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8282, allocations: 0 / 0.578 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8282, allocations: 0 / 0.578 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.8284, allocations: 149.7 kB / 0.5781 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8284, allocations: 4 kB / 0.5781 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.8284, allocations: 0 / 0.5781 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8284, allocations: 0 / 0.5781 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.8285, allocations: 3.938 kB / 0.5781 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.8285, allocations: 0 / 0.5781 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8285, allocations: 0.5625 kB / 0.5781 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.8287, allocations: 96.8 kB / 0.5782 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.8288, allocations: 85.09 kB / 0.5783 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.8288, allocations: 7.969 kB / 0.5783 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.741e-05/0.8289, allocations: 4 kB / 0.5783 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.8289, allocations: 0 / 0.5783 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.8289, allocations: 1.125 kB / 0.5783 GB, free: 1.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.829, allocations: 79.28 kB / 0.5784 GB, free: 1.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.829, allocations: 0 / 0.5784 GB, free: 1.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001295/0.8303, allocations: 183.7 kB / 0.5786 GB, free: 0.9531 MB / 394.7 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.00192/0.8323, allocations: 405 kB / 0.579 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.8325, allocations: 59.41 kB / 0.579 GB, free: 496 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.8325, allocations: 0 / 0.579 GB, free: 496 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.8326, allocations: 55.41 kB / 0.5791 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.8328, allocations: 10.31 kB / 0.5791 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.8332, allocations: 103.2 kB / 0.5792 GB, free: 284 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.8336, allocations: 0.6731 MB / 0.5798 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.8336, allocations: 7.438 kB / 0.5798 GB, free: 15.57 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.8336, allocations: 0 / 0.5798 GB, free: 15.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01249/0.8461, allocations: 3.611 MB / 0.5834 GB, free: 11.96 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches