Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 191 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.5 MB / 244.1 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007643/0.0007646, allocations: 96.2 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2762/0.2762, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.0002711, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2717, allocations: 62.95 MB / 0.5165 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3726, allocations: 90.76 MB / 0.6051 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.3729, allocations: 63.97 kB / 0.6052 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02717/0.4, allocations: 9.985 MB / 0.6149 GB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4001, allocations: 0 / 0.6149 GB, free: 4.602 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.4001, allocations: 0 / 0.6149 GB, free: 4.602 MB / 426.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.0005681/0.4007, allocations: 480.9 kB / 0.6154 GB, free: 4.074 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4007, allocations: 8.031 kB / 0.6154 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.4008, allocations: 4.938 kB / 0.6154 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.866e-05/0.4009, allocations: 160.4 kB / 0.6155 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.4009, allocations: 8.375 kB / 0.6155 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4009, allocations: 384 / 0.6155 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.461e-05/0.401, allocations: 30.27 kB / 0.6156 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.401, allocations: 192 / 0.6156 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.401, allocations: 3.938 kB / 0.6156 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.401, allocations: 3.938 kB / 0.6156 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.377e-05/0.401, allocations: 0 / 0.6156 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.4011, allocations: 149.7 kB / 0.6157 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.095e-05/0.4012, allocations: 18.58 kB / 0.6157 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.263e-05/0.4012, allocations: 8.859 kB / 0.6157 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.4012, allocations: 3.984 kB / 0.6157 GB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.4013, allocations: 60.36 kB / 0.6158 GB, free: 3.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.4013, allocations: 0 / 0.6158 GB, free: 3.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.000137/0.4014, allocations: 75.17 kB / 0.6159 GB, free: 3.418 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.4015, allocations: 77.11 kB / 0.6159 GB, free: 3.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.215e-05/0.4015, allocations: 93.98 kB / 0.616 GB, free: 3.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.4015, allocations: 25.7 kB / 0.6161 GB, free: 3.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.4016, allocations: 84.14 kB / 0.6161 GB, free: 3.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.4016, allocations: 0 / 0.6161 GB, free: 3.105 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-06/0.4016, allocations: 0 / 0.6161 GB, free: 3.105 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.4017, allocations: 314.8 kB / 0.6164 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-06/0.4017, allocations: 0 / 0.6164 GB, free: 2.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.4017, allocations: 3.984 kB / 0.6164 GB, free: 2.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.4018, allocations: 68.27 kB / 0.6165 GB, free: 2.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4018, allocations: 0 / 0.6165 GB, free: 2.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.129e-05/0.4018, allocations: 63.41 kB / 0.6166 GB, free: 2.629 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4019, allocations: 40.55 kB / 0.6166 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4019, allocations: 0 / 0.6166 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4019, allocations: 7.922 kB / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.4019, allocations: 0 / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4019, allocations: 4 kB / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.4019, allocations: 0 / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.4019, allocations: 0 / 0.6166 GB, free: 2.574 MB / 426.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 7.253e-05/0.402, allocations: 135.6 kB / 0.6168 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.402, allocations: 4 kB / 0.6168 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.199e-05/0.402, allocations: 10.66 kB / 0.6168 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.402, allocations: 0 / 0.6168 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4021, allocations: 4 kB / 0.6168 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.4021, allocations: 0 / 0.6168 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.816e-05/0.4022, allocations: 153.7 kB / 0.6169 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4022, allocations: 0 / 0.6169 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.4022, allocations: 0 / 0.6169 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.4022, allocations: 0 / 0.6169 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4022, allocations: 7.938 kB / 0.6169 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4022, allocations: 0 / 0.6169 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4022, allocations: 3.938 kB / 0.6169 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.312e-05/0.4023, allocations: 90.83 kB / 0.617 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.4023, allocations: 81.11 kB / 0.6171 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4023, allocations: 3.938 kB / 0.6171 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.4024, allocations: 4 kB / 0.6171 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.4024, allocations: 4.031 kB / 0.6171 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.4024, allocations: 0 / 0.6171 GB, free: 1.977 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.481e-05/0.4024, allocations: 79.27 kB / 0.6172 GB, free: 1.898 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4024, allocations: 0 / 0.6172 GB, free: 1.898 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.403, allocations: 199.7 kB / 0.6174 GB, free: 1.703 MB / 426.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.0007399/0.4037, allocations: 431.5 kB / 0.6178 GB, free: 1.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.4038, allocations: 59.34 kB / 0.6178 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4038, allocations: 0 / 0.6178 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.4038, allocations: 55.41 kB / 0.6179 GB, free: 1.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.404, allocations: 4 kB / 0.6179 GB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.4041, allocations: 104.6 kB / 0.618 GB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.4044, allocations: 0.6731 MB / 0.6187 GB, free: 312 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-06/0.4044, allocations: 7.438 kB / 0.6187 GB, free: 304 kB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4044, allocations: 0 / 0.6187 GB, free: 304 kB / 426.7 MB Notification: Performance of Templates: time 0.005721/0.4101, allocations: 3.9 MB / 0.6225 GB, free: 12.39 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches