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.001032/0.001032, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008447/0.0008444, allocations: 102.4 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3226/0.3226, allocations: 45.22 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 8 kB / 468.4 MB, free: 7.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3443, allocations: 63.24 MB / 0.5192 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.4553, allocations: 90.88 MB / 0.6079 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.4557, allocations: 63.97 kB / 0.608 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02892/0.4846, allocations: 10.3 MB / 0.618 GB, free: 4.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4846, allocations: 3.938 kB / 0.618 GB, free: 4.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.4847, allocations: 0 / 0.618 GB, free: 4.441 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.0006014/0.4853, allocations: 488.6 kB / 0.6185 GB, free: 3.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4853, allocations: 8.031 kB / 0.6185 GB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.4853, allocations: 0 / 0.6185 GB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.4854, allocations: 163 kB / 0.6187 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4855, allocations: 0 / 0.6187 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4855, allocations: 4 kB / 0.6187 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.745e-05/0.4856, allocations: 33.62 kB / 0.6187 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.4856, allocations: 0 / 0.6187 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.4856, allocations: 0 / 0.6187 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4856, allocations: 4 kB / 0.6187 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.4856, allocations: 4 kB / 0.6187 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.4857, allocations: 149.6 kB / 0.6189 GB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.691e-05/0.4858, allocations: 18.61 kB / 0.6189 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.4858, allocations: 0 / 0.6189 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.4858, allocations: 68.19 kB / 0.6189 GB, free: 3.348 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4858, allocations: 0 / 0.6189 GB, free: 3.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.486, allocations: 67.47 kB / 0.619 GB, free: 3.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.4861, allocations: 77.11 kB / 0.6191 GB, free: 3.176 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.038e-05/0.4861, allocations: 85 kB / 0.6192 GB, free: 3.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4861, allocations: 25.7 kB / 0.6192 GB, free: 3.055 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.4862, allocations: 84.08 kB / 0.6193 GB, free: 2.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.4862, allocations: 4 kB / 0.6193 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.4862, allocations: 0 / 0.6193 GB, free: 2.965 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4863, allocations: 314.8 kB / 0.6196 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-06/0.4863, allocations: 4.125 kB / 0.6196 GB, free: 2.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-06/0.4863, allocations: 0 / 0.6196 GB, free: 2.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.4864, allocations: 37.64 kB / 0.6196 GB, free: 2.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4864, allocations: 0 / 0.6196 GB, free: 2.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.967e-05/0.4865, allocations: 59.36 kB / 0.6197 GB, free: 2.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.4865, allocations: 37.69 kB / 0.6197 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4865, allocations: 0 / 0.6197 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4865, allocations: 0 / 0.6197 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.4865, allocations: 0 / 0.6197 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4866, allocations: 96 / 0.6197 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.153e-05/0.4866, allocations: 4 kB / 0.6197 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4866, allocations: 4 kB / 0.6197 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 8.179e-05/0.4867, allocations: 133.1 kB / 0.6198 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.4867, allocations: 3.953 kB / 0.6198 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.4867, allocations: 10.72 kB / 0.6198 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4867, allocations: 0 / 0.6198 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4867, allocations: 3.938 kB / 0.6199 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4867, allocations: 3.984 kB / 0.6199 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.4869, allocations: 149.7 kB / 0.62 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4869, allocations: 0 / 0.62 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.4869, allocations: 0 / 0.62 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4869, allocations: 7.953 kB / 0.62 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4869, allocations: 0 / 0.62 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4869, allocations: 0 / 0.62 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4869, allocations: 7.922 kB / 0.62 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.487, allocations: 90.83 kB / 0.6201 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.4871, allocations: 85.12 kB / 0.6202 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4871, allocations: 3.953 kB / 0.6202 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.4871, allocations: 0 / 0.6202 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.4871, allocations: 3.984 kB / 0.6202 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.4871, allocations: 4 kB / 0.6202 GB, free: 1.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.4872, allocations: 75.28 kB / 0.6203 GB, free: 1.809 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4872, allocations: 3.938 kB / 0.6203 GB, free: 1.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000609/0.4878, allocations: 199.6 kB / 0.6205 GB, free: 1.609 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.0007938/0.4886, allocations: 420.8 kB / 0.6209 GB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.4887, allocations: 59.34 kB / 0.6209 GB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4887, allocations: 4.062 kB / 0.6209 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.962e-05/0.4887, allocations: 55.41 kB / 0.621 GB, free: 1.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.77e-05/0.4888, allocations: 6.656 kB / 0.621 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.489, allocations: 77.25 kB / 0.6211 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4892, allocations: 0.6731 MB / 0.6217 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.501e-06/0.4892, allocations: 0 / 0.6217 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.4893, allocations: 15.42 kB / 0.6217 GB, free: 244 kB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4893, allocations: 0 / 0.6217 GB, free: 244 kB / 426.7 MB Notification: Performance of Templates: time 0.007293/0.4966, allocations: 4.331 MB / 0.626 GB, free: 11.91 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/jenkins/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