Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007878/0.0007879, allocations: 99.88 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1794/0.1794, allocations: 45.14 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.37e-05, allocations: 3.938 kB / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09229, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.4793, allocations: 90.14 MB / 0.5924 GB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.4795, allocations: 65.84 kB / 0.5924 GB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02671/0.5062, allocations: 10.11 MB / 0.6023 GB, free: 4.375 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5063, allocations: 4 kB / 0.6023 GB, free: 4.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.5063, allocations: 0 / 0.6023 GB, free: 4.371 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.0005859/0.5069, allocations: 471 kB / 0.6028 GB, free: 3.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5069, allocations: 12.03 kB / 0.6028 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.507, allocations: 4 kB / 0.6028 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.5071, allocations: 163 kB / 0.6029 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5071, allocations: 0 / 0.6029 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.5071, allocations: 0 / 0.6029 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.562e-05/0.5072, allocations: 7.938 kB / 0.6029 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.742e-05/0.5072, allocations: 37.67 kB / 0.603 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.5072, allocations: 0 / 0.603 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.5072, allocations: 0 / 0.603 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.5073, allocations: 0 / 0.603 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.5074, allocations: 126.2 kB / 0.6031 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.352e-05/0.5074, allocations: 18.61 kB / 0.6031 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.157e-05/0.5074, allocations: 4.859 kB / 0.6031 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.5074, allocations: 7.75 kB / 0.6031 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.5075, allocations: 64.27 kB / 0.6032 GB, free: 3.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.5075, allocations: 0 / 0.6032 GB, free: 3.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.5076, allocations: 33.69 kB / 0.6032 GB, free: 3.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.5077, allocations: 77.11 kB / 0.6033 GB, free: 3.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.11e-05/0.5077, allocations: 85 kB / 0.6034 GB, free: 3.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5078, allocations: 25.7 kB / 0.6034 GB, free: 3.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.5078, allocations: 84.17 kB / 0.6035 GB, free: 2.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.5078, allocations: 7.938 kB / 0.6035 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.5078, allocations: 0 / 0.6035 GB, free: 2.977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.508, allocations: 314.8 kB / 0.6038 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-06/0.508, allocations: 0 / 0.6038 GB, free: 2.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.508, allocations: 0 / 0.6038 GB, free: 2.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.508, allocations: 7.938 kB / 0.6038 GB, free: 2.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.508, allocations: 0 / 0.6038 GB, free: 2.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.229e-05/0.5081, allocations: 41.58 kB / 0.6038 GB, free: 2.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.5081, allocations: 37.8 kB / 0.6039 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5081, allocations: 0 / 0.6039 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5082, allocations: 0 / 0.6039 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.5082, allocations: 0 / 0.6039 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5082, allocations: 0 / 0.6039 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.5082, allocations: 0 / 0.6039 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.5082, allocations: 0 / 0.6039 GB, free: 2.566 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 () * 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 7.309e-05/0.5083, allocations: 130.7 kB / 0.604 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.5083, allocations: 7.938 kB / 0.604 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.5083, allocations: 11.7 kB / 0.604 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.5083, allocations: 0 / 0.604 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5083, allocations: 4 kB / 0.604 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5083, allocations: 0 / 0.604 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.129e-05/0.5084, allocations: 126.1 kB / 0.6041 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.5084, allocations: 0 / 0.6041 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.5084, allocations: 0 / 0.6041 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.5084, allocations: 0 / 0.6041 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5084, allocations: 3.984 kB / 0.6041 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5084, allocations: 11.94 kB / 0.6042 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5084, allocations: 0 / 0.6042 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.038e-05/0.5085, allocations: 61.08 kB / 0.6042 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.5086, allocations: 80.11 kB / 0.6043 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.5086, allocations: 0 / 0.6043 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.5086, allocations: 11.98 kB / 0.6043 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.5086, allocations: 3.953 kB / 0.6043 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.5086, allocations: 0 / 0.6043 GB, free: 2.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.454e-05/0.5087, allocations: 75.28 kB / 0.6044 GB, free: 1.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5087, allocations: 4.031 kB / 0.6044 GB, free: 1.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005134/0.5092, allocations: 200.6 kB / 0.6046 GB, free: 1.789 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) * 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.0006999/0.5099, allocations: 420.5 kB / 0.605 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.51, allocations: 59.41 kB / 0.605 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.51, allocations: 3.938 kB / 0.605 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.51, allocations: 51.41 kB / 0.6051 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.445e-05/0.5101, allocations: 9.969 kB / 0.6051 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001125/0.5102, allocations: 47.25 kB / 0.6051 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.5104, allocations: 0.669 MB / 0.6058 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.5104, allocations: 4.125 kB / 0.6058 GB, free: 500 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.5104, allocations: 11.44 kB / 0.6058 GB, free: 488 kB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5104, allocations: 0 / 0.6058 GB, free: 488 kB / 394.7 MB Notification: Performance of Templates: time 0.007087/0.5175, allocations: 4.472 MB / 0.6102 GB, free: 12.03 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches