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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 83.16 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 158 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2731/0.2731, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 442.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.722e-05, allocations: 6.219 kB / 442.6 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001647/0.001684, allocations: 491.3 kB / 443.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.005975, allocations: 2.279 MB / 445.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.006004, allocations: 0 / 445.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.006018, allocations: 0 / 445.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-06/0.006025, allocations: 0 / 445.4 MB, free: 2.574 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function 'ModelicaTest.ComplexMath.ComplexFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.009355, allocations: 1.116 MB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.009421, allocations: 4 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.009457, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.009488, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.213e-05/0.00952, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.009529, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.01152, allocations: 0.9792 MB / 447.5 MB, free: 484 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.01153, allocations: 4 kB / 447.5 MB, free: 480 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.01155, allocations: 0 / 447.5 MB, free: 480 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2035/0.215, allocations: 0.535 MB / 448 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.215, allocations: 1 kB / 448 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.215, allocations: 0 / 448 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.2151, allocations: 0 / 448 MB, free: 15.98 MB / 366.1 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.0005784/0.2156, allocations: 362.7 kB / 448.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2157, allocations: 9.969 kB / 448.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.2157, allocations: 0.9375 kB / 448.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.165e-05/0.2158, allocations: 106 kB / 448.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2158, allocations: 384 / 448.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2158, allocations: 2.781 kB / 448.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2159, allocations: 58.38 kB / 448.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2159, allocations: 3 kB / 448.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2159, allocations: 2.75 kB / 448.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.216, allocations: 7.828 kB / 448.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.216, allocations: 28.52 kB / 448.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.345e-05/0.2161, allocations: 102.5 kB / 448.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.2161, allocations: 43.12 kB / 448.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.2161, allocations: 35.09 kB / 448.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.2161, allocations: 2.031 kB / 448.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2162, allocations: 62.52 kB / 448.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2162, allocations: 0 / 448.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001828/0.2164, allocations: 117 kB / 448.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2164, allocations: 78.97 kB / 449 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.588e-05/0.2164, allocations: 98.38 kB / 449.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.2164, allocations: 27.88 kB / 449.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.289e-05/0.2165, allocations: 81.83 kB / 449.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2165, allocations: 8.891 kB / 449.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.2165, allocations: 12.62 kB / 449.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.2165, allocations: 314.5 kB / 449.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.2166, allocations: 30.2 kB / 449.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.2166, allocations: 29.2 kB / 449.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.2166, allocations: 66.73 kB / 449.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2166, allocations: 0 / 449.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.127e-05/0.2167, allocations: 88.41 kB / 449.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.2167, allocations: 32.59 kB / 449.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2167, allocations: 2.203 kB / 449.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2167, allocations: 0 / 449.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.2167, allocations: 1 kB / 449.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2167, allocations: 7.719 kB / 449.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.2168, allocations: 5.156 kB / 449.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2168, allocations: 2.094 kB / 449.8 MB, free: 14.16 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.2168, allocations: 137.9 kB / 449.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.2168, allocations: 1.719 kB / 449.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.059e-05/0.2168, allocations: 3.609 kB / 449.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2168, allocations: 1.062 kB / 449.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2168, allocations: 0.6094 kB / 449.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2168, allocations: 3.938 kB / 449.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.963e-05/0.2169, allocations: 103.6 kB / 450 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2169, allocations: 0.5156 kB / 450 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-06/0.2169, allocations: 3.188 kB / 450.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.2169, allocations: 1.094 kB / 450.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2169, allocations: 2.5 kB / 450.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2169, allocations: 0 / 450.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2169, allocations: 1 kB / 450.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.217, allocations: 124.5 kB / 450.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-06/0.217, allocations: 2.844 kB / 450.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.217, allocations: 2.469 kB / 450.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.217, allocations: 0.7969 kB / 450.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.217, allocations: 1.312 kB / 450.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.217, allocations: 1.156 kB / 450.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.276e-05/0.217, allocations: 86.38 kB / 450.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.217, allocations: 1 kB / 450.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.2175, allocations: 164.5 kB / 450.4 MB, free: 13.64 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007796/0.2183, allocations: 414.4 kB / 450.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.2184, allocations: 114.9 kB / 450.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2184, allocations: 0 / 450.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.2184, allocations: 86.17 kB / 451 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.2185, allocations: 4.531 kB / 451 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.2187, allocations: 102.9 kB / 451.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.2187, allocations: 55.12 kB / 451.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.202e-06/0.2187, allocations: 2.234 kB / 451.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.194e-05/0.2188, allocations: 13.78 kB / 451.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2188, allocations: 0 / 451.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01033/0.2291, allocations: 4.672 MB / 455.9 MB, free: 12.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198189530521631]