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.002233/0.002233, allocations: 181.5 kB / 13.66 MB, free: 1.664 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.066/2.066, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001128/0.001128, allocations: 90.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2704/0.2704, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.384e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6377, allocations: 88.68 MB / 0.5594 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.6381, allocations: 69.31 kB / 0.5594 GB, free: 14.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06643/0.7046, allocations: 9.897 MB / 0.5691 GB, free: 6.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7047, allocations: 4 kB / 0.5691 GB, free: 6.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.7047, allocations: 0 / 0.5691 GB, free: 6.406 MB / 378.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.001109/0.7058, allocations: 467.2 kB / 0.5696 GB, free: 5.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.84e-05/0.7059, allocations: 8.031 kB / 0.5696 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.706, allocations: 3.938 kB / 0.5696 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.7062, allocations: 163 kB / 0.5697 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.7062, allocations: 0 / 0.5697 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.7063, allocations: 7.938 kB / 0.5697 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.7064, allocations: 33.69 kB / 0.5698 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.7064, allocations: 0 / 0.5698 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.7065, allocations: 4 kB / 0.5698 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.7065, allocations: 0 / 0.5698 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.7065, allocations: 0 / 0.5698 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.7068, allocations: 145.6 kB / 0.5699 GB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.7069, allocations: 30.67 kB / 0.5699 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.707, allocations: 8.859 kB / 0.5699 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.707, allocations: 0 / 0.5699 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.7072, allocations: 64.31 kB / 0.57 GB, free: 5.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.785e-06/0.7072, allocations: 0 / 0.57 GB, free: 5.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002546/0.7075, allocations: 55.41 kB / 0.5701 GB, free: 5.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.7076, allocations: 77.11 kB / 0.5701 GB, free: 5.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.7077, allocations: 92.75 kB / 0.5702 GB, free: 5.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.7077, allocations: 25.7 kB / 0.5702 GB, free: 5.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.7078, allocations: 154.6 kB / 0.5704 GB, free: 4.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.7079, allocations: 3.938 kB / 0.5704 GB, free: 4.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.7079, allocations: 0 / 0.5704 GB, free: 4.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.7081, allocations: 314.8 kB / 0.5707 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.7082, allocations: 0 / 0.5707 GB, free: 4.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.7082, allocations: 4 kB / 0.5707 GB, free: 4.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.7083, allocations: 25.7 kB / 0.5707 GB, free: 4.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.7083, allocations: 3.953 kB / 0.5707 GB, free: 4.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000189/0.7085, allocations: 63.47 kB / 0.5708 GB, free: 4.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.7086, allocations: 33.14 kB / 0.5708 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7086, allocations: 0 / 0.5708 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.7086, allocations: 7.984 kB / 0.5708 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-06/0.7087, allocations: 0 / 0.5708 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.7087, allocations: 0 / 0.5708 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.7087, allocations: 0 / 0.5708 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.7088, allocations: 0 / 0.5708 GB, free: 4.414 MB / 378.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 () * 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.0001567/0.7089, allocations: 132.2 kB / 0.571 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.709, allocations: 7.984 kB / 0.571 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.709, allocations: 7.062 kB / 0.571 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.709, allocations: 0 / 0.571 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7091, allocations: 0 / 0.571 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7091, allocations: 0 / 0.571 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.7093, allocations: 149.7 kB / 0.5711 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.7093, allocations: 4 kB / 0.5711 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-06/0.7093, allocations: 3.953 kB / 0.5711 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7094, allocations: 0 / 0.5711 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.7094, allocations: 3.938 kB / 0.5711 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7094, allocations: 3.938 kB / 0.5711 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7094, allocations: 4 kB / 0.5711 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.7097, allocations: 94.39 kB / 0.5712 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.7098, allocations: 81.09 kB / 0.5713 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.7098, allocations: 7.953 kB / 0.5713 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.7099, allocations: 0 / 0.5713 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.7099, allocations: 7.672 kB / 0.5713 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.71, allocations: 0 / 0.5713 GB, free: 3.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.304e-05/0.71, allocations: 79.31 kB / 0.5714 GB, free: 3.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.747e-06/0.7101, allocations: 0 / 0.5714 GB, free: 3.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001597/0.7117, allocations: 182 kB / 0.5716 GB, free: 3.574 MB / 378.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) * 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.002228/0.714, allocations: 406 kB / 0.5719 GB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.7142, allocations: 55.41 kB / 0.572 GB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7142, allocations: 0 / 0.572 GB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.7143, allocations: 59.22 kB / 0.5721 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.7145, allocations: 0 / 0.5721 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.7148, allocations: 66.77 kB / 0.5721 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.7154, allocations: 0.6772 MB / 0.5728 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.7154, allocations: 11.44 kB / 0.5728 GB, free: 2.254 MB / 378.7 MB Notification: Performance of SimCode: time 1.904e-06/0.7154, allocations: 4 kB / 0.5728 GB, free: 2.25 MB / 378.7 MB Notification: Performance of Templates: time 0.021/0.7364, allocations: 3.834 MB / 0.5765 GB, free: 14.43 MB / 394.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