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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001017/0.001017, allocations: 86.88 kB / 270.2 MB, free: 13.36 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.215/0.215, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5231/0.6749, allocations: 88.77 MB / 0.5654 GB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.6753, allocations: 68.16 kB / 0.5655 GB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02939/0.7047, allocations: 9.92 MB / 0.5752 GB, free: 2.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.7048, allocations: 4 kB / 0.5752 GB, free: 2.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.7048, allocations: 0 / 0.5752 GB, free: 2.43 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.0007202/0.7055, allocations: 478.8 kB / 0.5756 GB, free: 1.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.7056, allocations: 12.03 kB / 0.5757 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.7056, allocations: 0.625 kB / 0.5757 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.7057, allocations: 163 kB / 0.5758 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.7058, allocations: 0 / 0.5758 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.7058, allocations: 0 / 0.5758 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.7059, allocations: 33.64 kB / 0.5758 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7059, allocations: 4 kB / 0.5758 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7059, allocations: 0 / 0.5758 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7059, allocations: 4 kB / 0.5758 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.706, allocations: 0 / 0.5758 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.7061, allocations: 156.6 kB / 0.576 GB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.7062, allocations: 14.58 kB / 0.576 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.7062, allocations: 0 / 0.576 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.7062, allocations: 71.86 kB / 0.5761 GB, free: 1.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.7062, allocations: 0 / 0.5761 GB, free: 1.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001938/0.7064, allocations: 59.39 kB / 0.5761 GB, free: 1.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.7065, allocations: 81.11 kB / 0.5762 GB, free: 1.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.7066, allocations: 85 kB / 0.5763 GB, free: 1.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.7066, allocations: 32.83 kB / 0.5763 GB, free: 1.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.7067, allocations: 84.08 kB / 0.5764 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.7067, allocations: 0 / 0.5764 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.7067, allocations: 128 / 0.5764 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7069, allocations: 314.8 kB / 0.5767 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.7069, allocations: 4 kB / 0.5767 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.7069, allocations: 0 / 0.5767 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.707, allocations: 29.64 kB / 0.5767 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.707, allocations: 3.984 kB / 0.5767 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.784e-05/0.7071, allocations: 66.11 kB / 0.5768 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.7071, allocations: 29.7 kB / 0.5768 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7072, allocations: 4 kB / 0.5768 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7072, allocations: 4.094 kB / 0.5768 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.7072, allocations: 0 / 0.5768 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7072, allocations: 0 / 0.5768 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.7072, allocations: 0 / 0.5768 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.7072, allocations: 0 / 0.5768 GB, free: 0.4961 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 () * 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.0001085/0.7073, allocations: 143.5 kB / 0.577 GB, free: 348 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.7074, allocations: 3.953 kB / 0.577 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.7074, allocations: 7.109 kB / 0.577 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7074, allocations: 0 / 0.577 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7074, allocations: 4 kB / 0.577 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.7074, allocations: 4 kB / 0.577 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.7076, allocations: 149.2 kB / 0.5771 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7076, allocations: 0 / 0.5771 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.7076, allocations: 0 / 0.5771 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7076, allocations: 3.953 kB / 0.5771 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.7076, allocations: 0 / 0.5771 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.7076, allocations: 4 kB / 0.5771 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7076, allocations: 3.938 kB / 0.5771 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.7077, allocations: 90.14 kB / 0.5772 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.7078, allocations: 77.11 kB / 0.5773 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.7078, allocations: 7.953 kB / 0.5773 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.7079, allocations: 0 / 0.5773 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.7079, allocations: 0 / 0.5773 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.7079, allocations: 0 / 0.5773 GB, free: 15.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.7079, allocations: 79.22 kB / 0.5774 GB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7079, allocations: 0 / 0.5774 GB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006735/0.7086, allocations: 184.5 kB / 0.5776 GB, free: 15.66 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.00085/0.7095, allocations: 409.4 kB / 0.578 GB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.7096, allocations: 67.33 kB / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7096, allocations: 4 kB / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.7097, allocations: 55.41 kB / 0.5781 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.7098, allocations: 3.312 kB / 0.5781 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.71, allocations: 70.75 kB / 0.5781 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.7103, allocations: 0.6731 MB / 0.5788 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.302e-06/0.7103, allocations: 0 / 0.5788 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.7103, allocations: 11.44 kB / 0.5788 GB, free: 14.32 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.7103, allocations: 4.125 kB / 0.5788 GB, free: 14.32 MB / 394.7 MB Notification: Performance of Templates: time 0.007875/0.7182, allocations: 4.01 MB / 0.5827 GB, free: 10.31 MB / 394.7 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