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.001051/0.001051, allocations: 202.4 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008683/0.0008681, allocations: 104.2 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3232/0.3232, allocations: 45.23 MB / 394.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000242/0.000242, allocations: 4 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3509, allocations: 63.23 MB / 0.5192 GB, free: 43.81 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.4607, allocations: 90.89 MB / 0.6079 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.461, allocations: 63.97 kB / 0.608 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02938/0.4904, allocations: 10.29 MB / 0.618 GB, free: 4.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4904, allocations: 0 / 0.618 GB, free: 4.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.4904, allocations: 0 / 0.618 GB, free: 4.398 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.0006078/0.491, allocations: 488.6 kB / 0.6185 GB, free: 3.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4911, allocations: 12.03 kB / 0.6185 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.4911, allocations: 0 / 0.6185 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.4912, allocations: 167 kB / 0.6187 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4912, allocations: 0 / 0.6187 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4913, allocations: 0 / 0.6187 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.914e-05/0.4913, allocations: 29.64 kB / 0.6187 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4914, allocations: 7.984 kB / 0.6187 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.4914, allocations: 0 / 0.6187 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.4914, allocations: 0 / 0.6187 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.4914, allocations: 3.984 kB / 0.6187 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.4915, allocations: 153.6 kB / 0.6189 GB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.305e-05/0.4916, allocations: 18.61 kB / 0.6189 GB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.4916, allocations: 0 / 0.6189 GB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.4916, allocations: 60.2 kB / 0.6189 GB, free: 3.305 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4916, allocations: 0 / 0.6189 GB, free: 3.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001649/0.4918, allocations: 67.45 kB / 0.619 GB, free: 3.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.4919, allocations: 81.23 kB / 0.6191 GB, free: 3.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.041e-05/0.4919, allocations: 89 kB / 0.6192 GB, free: 3.035 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4919, allocations: 25.7 kB / 0.6192 GB, free: 3.004 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.4919, allocations: 80.14 kB / 0.6193 GB, free: 2.922 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.492, allocations: 3.938 kB / 0.6193 GB, free: 2.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.492, allocations: 0 / 0.6193 GB, free: 2.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.4921, allocations: 310.8 kB / 0.6196 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/0.4921, allocations: 0 / 0.6196 GB, free: 2.605 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.4921, allocations: 11.98 kB / 0.6196 GB, free: 2.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.4921, allocations: 29.64 kB / 0.6196 GB, free: 2.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4921, allocations: 0 / 0.6196 GB, free: 2.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.411e-05/0.4922, allocations: 67.36 kB / 0.6197 GB, free: 2.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4923, allocations: 29.7 kB / 0.6197 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4923, allocations: 0 / 0.6197 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4923, allocations: 0 / 0.6197 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.4923, allocations: 4 kB / 0.6197 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4923, allocations: 7.984 kB / 0.6197 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.4923, allocations: 0 / 0.6197 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4923, allocations: 4.094 kB / 0.6197 GB, free: 2.43 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.433e-05/0.4924, allocations: 136.9 kB / 0.6198 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.4924, allocations: 3.953 kB / 0.6198 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.192e-05/0.4924, allocations: 6.719 kB / 0.6199 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4925, allocations: 3.938 kB / 0.6199 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4925, allocations: 0 / 0.6199 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4925, allocations: 0 / 0.6199 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.869e-05/0.4926, allocations: 153.7 kB / 0.62 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4926, allocations: 0 / 0.62 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4926, allocations: 4 kB / 0.62 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4926, allocations: 3.953 kB / 0.62 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4926, allocations: 0 / 0.62 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/0.4926, allocations: 3.984 kB / 0.62 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4926, allocations: 3.938 kB / 0.62 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.718e-05/0.4927, allocations: 90.83 kB / 0.6201 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.4927, allocations: 77.11 kB / 0.6202 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4928, allocations: 7.953 kB / 0.6202 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.4928, allocations: 4.031 kB / 0.6202 GB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.4928, allocations: 0 / 0.6202 GB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.4928, allocations: 0 / 0.6202 GB, free: 1.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.544e-05/0.4928, allocations: 75.28 kB / 0.6203 GB, free: 1.766 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.4928, allocations: 0 / 0.6203 GB, free: 1.766 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005853/0.4934, allocations: 207.6 kB / 0.6205 GB, free: 1.562 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.0008318/0.4943, allocations: 420.7 kB / 0.6209 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.61e-05/0.4944, allocations: 59.34 kB / 0.6209 GB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4944, allocations: 0 / 0.6209 GB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.4944, allocations: 55.41 kB / 0.621 GB, free: 1.012 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.804e-05/0.4945, allocations: 12.83 kB / 0.621 GB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/0.4946, allocations: 81.19 kB / 0.6211 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.4948, allocations: 0.6731 MB / 0.6217 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.021e-06/0.4949, allocations: 0 / 0.6217 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.4949, allocations: 7.438 kB / 0.6217 GB, free: 200 kB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4949, allocations: 0 / 0.6217 GB, free: 200 kB / 426.7 MB Notification: Performance of Templates: time 0.00715/0.502, allocations: 4.327 MB / 0.6259 GB, free: 11.87 MB / 442.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