Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001438, allocations: 199.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007958/0.0007962, allocations: 107.8 kB / 297.5 MB, free: 6.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3865/0.3865, allocations: 44.82 MB / 394.3 MB, free: 35.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4033, allocations: 62.96 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5424, allocations: 90.75 MB / 0.607 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.5426, allocations: 67.95 kB / 0.6071 GB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02976/0.5724, allocations: 9.997 MB / 0.6169 GB, free: 4.504 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5725, allocations: 0 / 0.6169 GB, free: 4.504 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.5725, allocations: 0 / 0.6169 GB, free: 4.504 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.0008539/0.5734, allocations: 476.9 kB / 0.6173 GB, free: 3.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.5734, allocations: 8.031 kB / 0.6173 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.5735, allocations: 0.9375 kB / 0.6173 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.5736, allocations: 160.4 kB / 0.6175 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.5737, allocations: 4.375 kB / 0.6175 GB, free: 3.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.5737, allocations: 384 / 0.6175 GB, free: 3.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.5738, allocations: 38.25 kB / 0.6175 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5739, allocations: 192 / 0.6175 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5739, allocations: 7.938 kB / 0.6175 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.5739, allocations: 0 / 0.6175 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.5739, allocations: 3.938 kB / 0.6175 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.5742, allocations: 141.7 kB / 0.6177 GB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.5742, allocations: 18.61 kB / 0.6177 GB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.5743, allocations: 12.84 kB / 0.6177 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.5743, allocations: 0 / 0.6177 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.874e-05/0.5744, allocations: 60.27 kB / 0.6178 GB, free: 3.414 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.5744, allocations: 4.062 kB / 0.6178 GB, free: 3.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002354/0.5746, allocations: 67.19 kB / 0.6178 GB, free: 3.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.5747, allocations: 81.11 kB / 0.6179 GB, free: 3.234 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.5748, allocations: 93.84 kB / 0.618 GB, free: 3.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.5748, allocations: 25.83 kB / 0.618 GB, free: 3.102 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.5749, allocations: 88.08 kB / 0.6181 GB, free: 3.012 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.5749, allocations: 0 / 0.6181 GB, free: 3.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.5749, allocations: 0 / 0.6181 GB, free: 3.012 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5751, allocations: 314.8 kB / 0.6184 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.5751, allocations: 4 kB / 0.6184 GB, free: 2.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.5751, allocations: 0 / 0.6184 GB, free: 2.691 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.466e-05/0.5752, allocations: 60.27 kB / 0.6185 GB, free: 2.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5752, allocations: 4 kB / 0.6185 GB, free: 2.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.313e-05/0.5753, allocations: 63.39 kB / 0.6185 GB, free: 2.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.5753, allocations: 37.7 kB / 0.6186 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5754, allocations: 3.938 kB / 0.6186 GB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5754, allocations: 3.938 kB / 0.6186 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.5754, allocations: 0 / 0.6186 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5754, allocations: 0 / 0.6186 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.5754, allocations: 4 kB / 0.6186 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.5754, allocations: 4 kB / 0.6186 GB, free: 2.48 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 0.0001187/0.5756, allocations: 135.6 kB / 0.6187 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.5756, allocations: 0 / 0.6187 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.5756, allocations: 18.64 kB / 0.6187 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5756, allocations: 0 / 0.6187 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5756, allocations: 0 / 0.6187 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5756, allocations: 0 / 0.6187 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.5758, allocations: 141.7 kB / 0.6189 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5758, allocations: 0 / 0.6189 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.5758, allocations: 0 / 0.6189 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5758, allocations: 4 kB / 0.6189 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.5758, allocations: 7.922 kB / 0.6189 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5758, allocations: 4 kB / 0.6189 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5758, allocations: 3.938 kB / 0.6189 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.576, allocations: 86.84 kB / 0.619 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.576, allocations: 81.09 kB / 0.619 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.576, allocations: 3.938 kB / 0.619 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-06/0.5761, allocations: 0 / 0.619 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.5761, allocations: 4 kB / 0.619 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5761, allocations: 8.031 kB / 0.6191 GB, free: 1.887 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.5761, allocations: 75.28 kB / 0.6191 GB, free: 1.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5762, allocations: 0 / 0.6191 GB, free: 1.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008236/0.577, allocations: 199.6 kB / 0.6193 GB, free: 1.617 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.001181/0.5782, allocations: 436.4 kB / 0.6197 GB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.5783, allocations: 59.34 kB / 0.6198 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5783, allocations: 0 / 0.6198 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.5784, allocations: 59.39 kB / 0.6198 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.5785, allocations: 0 / 0.6198 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.5787, allocations: 78.89 kB / 0.6199 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.579, allocations: 0.6692 MB / 0.6206 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.843e-06/0.579, allocations: 0 / 0.6206 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.579, allocations: 11.44 kB / 0.6206 GB, free: 244 kB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.579, allocations: 0 / 0.6206 GB, free: 244 kB / 426.7 MB Notification: Performance of Templates: time 0.009353/0.5884, allocations: 4.552 MB / 0.625 GB, free: 11.68 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches