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.002046/0.002046, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001753/0.001753, allocations: 216.7 kB / 23 MB, free: 5.574 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.525/1.525, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.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.2366/0.2366, allocations: 46.91 MB / 359.4 MB, free: 4.848 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 0.002275/0.002275, allocations: 87.84 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3992, allocations: 65.99 MB / 0.5591 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001609/0.4008, allocations: 471.9 kB / 0.5595 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.4045, allocations: 2.45 MB / 0.5619 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.4045, allocations: 0 / 0.5619 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.4046, allocations: 3.938 kB / 0.5619 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.441e-06/0.4046, allocations: 0 / 0.5619 GB, free: 2.094 MB / 398.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.003067/0.4076, allocations: 1.151 MB / 0.563 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.4077, allocations: 3.984 kB / 0.563 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.4077, allocations: 3.984 kB / 0.563 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.4078, allocations: 4 kB / 0.563 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.4078, allocations: 0 / 0.563 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.4078, allocations: 0 / 0.563 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.4094, allocations: 1.034 MB / 0.564 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-06/0.4094, allocations: 0 / 0.564 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.4094, allocations: 0 / 0.564 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006663/0.4101, allocations: 453.5 kB / 0.5645 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4101, allocations: 0 / 0.5645 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4101, allocations: 0 / 0.5645 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.4101, allocations: 0 / 0.5645 GB, free: 15.46 MB / 414.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.0005161/0.4106, allocations: 440.4 kB / 0.5649 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4107, allocations: 12.03 kB / 0.5649 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.4107, allocations: 4.875 kB / 0.5649 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.4108, allocations: 176.3 kB / 0.5651 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-06/0.4108, allocations: 384 / 0.5651 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.4109, allocations: 384 / 0.5651 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.411, allocations: 38 kB / 0.5651 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.411, allocations: 0 / 0.5651 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.411, allocations: 3.984 kB / 0.5651 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.411, allocations: 0 / 0.5651 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.411, allocations: 0 / 0.5651 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.4112, allocations: 153.6 kB / 0.5653 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.4112, allocations: 22.52 kB / 0.5653 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.4112, allocations: 8.859 kB / 0.5653 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.4112, allocations: 4.094 kB / 0.5653 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.4113, allocations: 64.19 kB / 0.5654 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4113, allocations: 0 / 0.5654 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.4115, allocations: 59.41 kB / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.4115, allocations: 77.23 kB / 0.5655 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.4116, allocations: 97.81 kB / 0.5656 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.4116, allocations: 29.7 kB / 0.5656 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.4117, allocations: 84.12 kB / 0.5657 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.4117, allocations: 0 / 0.5657 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.4117, allocations: 17.66 kB / 0.5657 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4119, allocations: 310.8 kB / 0.566 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.4119, allocations: 0 / 0.566 GB, free: 13.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.4119, allocations: 4 kB / 0.566 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.636e-05/0.4119, allocations: 64.33 kB / 0.5661 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4119, allocations: 0 / 0.5661 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.1e-05/0.412, allocations: 63.39 kB / 0.5661 GB, free: 13.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.412, allocations: 37.64 kB / 0.5662 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.412, allocations: 0 / 0.5662 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4121, allocations: 0 / 0.5662 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.4121, allocations: 0 / 0.5662 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4121, allocations: 0 / 0.5662 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.4121, allocations: 3.938 kB / 0.5662 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.4121, allocations: 8.031 kB / 0.5662 GB, free: 13.44 MB / 414.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 9.562e-05/0.4122, allocations: 135.5 kB / 0.5663 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-06/0.4122, allocations: 3.938 kB / 0.5663 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-06/0.4122, allocations: 7.062 kB / 0.5663 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4122, allocations: 4 kB / 0.5663 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4122, allocations: 0 / 0.5663 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.4122, allocations: 0 / 0.5663 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.4123, allocations: 145.7 kB / 0.5665 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4123, allocations: 3.938 kB / 0.5665 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-06/0.4123, allocations: 7.984 kB / 0.5665 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4123, allocations: 3.938 kB / 0.5665 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.4123, allocations: 4 kB / 0.5665 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4123, allocations: 0 / 0.5665 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4123, allocations: 0 / 0.5665 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.4125, allocations: 86.84 kB / 0.5666 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.4125, allocations: 81.09 kB / 0.5666 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.4125, allocations: 3.938 kB / 0.5667 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/0.4125, allocations: 4.031 kB / 0.5667 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.4125, allocations: 3.938 kB / 0.5667 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4125, allocations: 4 kB / 0.5667 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.4126, allocations: 75.28 kB / 0.5667 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4126, allocations: 0 / 0.5667 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.4131, allocations: 155.5 kB / 0.5669 GB, free: 12.62 MB / 414.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.0008045/0.4139, allocations: 392.9 kB / 0.5673 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.414, allocations: 55.41 kB / 0.5673 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.414, allocations: 0 / 0.5673 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.593e-05/0.414, allocations: 59.47 kB / 0.5674 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.4141, allocations: 9.234 kB / 0.5674 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.4143, allocations: 89 kB / 0.5675 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.4147, allocations: 0.6729 MB / 0.5681 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.913e-06/0.4147, allocations: 3.984 kB / 0.5681 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.099e-05/0.4147, allocations: 11.38 kB / 0.5681 GB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4147, allocations: 3.938 kB / 0.5681 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.008786/0.4235, allocations: 4.603 MB / 0.5726 GB, free: 6.645 MB / 414.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.0.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.5386220114305615]