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.001268/0.001268, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001378/0.001378, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.438/1.438, allocations: 230.3 MB / 257.9 MB, free: 8.23 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.2382/0.2382, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.002235/0.002235, allocations: 75.88 kB / 0.497 GB, free: 7.613 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3981, allocations: 66.02 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001706/0.3998, allocations: 481 kB / 0.562 GB, free: 4.156 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003904/0.4037, allocations: 2.458 MB / 0.5644 GB, free: 1.68 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.4038, allocations: 0 / 0.5644 GB, free: 1.68 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.4038, allocations: 0 / 0.5644 GB, free: 1.68 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.4038, allocations: 0 / 0.5644 GB, free: 1.68 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.003066/0.4069, allocations: 1.16 MB / 0.5655 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.4069, allocations: 3.938 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.407, allocations: 3.984 kB / 0.5655 GB, free: 0.5117 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.407, allocations: 4 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.407, allocations: 4 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.4071, allocations: 0 / 0.5655 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.4088, allocations: 1.034 MB / 0.5665 GB, free: 15.47 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.4088, allocations: 0 / 0.5665 GB, free: 15.47 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.4088, allocations: 3.984 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.4095, allocations: 449.6 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4095, allocations: 0 / 0.5669 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of FrontEnd: time 3.567e-06/0.4095, allocations: 7.938 kB / 0.567 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.072e-05/0.4095, allocations: 0 / 0.567 GB, free: 15.02 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.0004887/0.41, allocations: 363.3 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.41, allocations: 16.03 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.4101, allocations: 0.9375 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4102, allocations: 102.5 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4102, allocations: 384 / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4102, allocations: 8.312 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.4103, allocations: 34 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4103, allocations: 0 / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4103, allocations: 0 / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4103, allocations: 0 / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.4103, allocations: 8 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.4105, allocations: 120.7 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.4105, allocations: 22.55 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.4105, allocations: 4.859 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.4105, allocations: 0 / 0.5676 GB, free: 14.24 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/0.4106, allocations: 64.19 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.4106, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1): time 0.000193/0.4108, allocations: 75.34 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.4109, allocations: 81.11 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.4109, allocations: 93.81 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4109, allocations: 25.7 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.411, allocations: 80.14 kB / 0.568 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.411, allocations: 0 / 0.568 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.4111, allocations: 17.7 kB / 0.568 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001449/0.4112, allocations: 311 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.4112, allocations: 4 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.4112, allocations: 0 / 0.5683 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.4113, allocations: 64.27 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4113, allocations: 0 / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.334e-05/0.4114, allocations: 67.33 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.4114, allocations: 33.64 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4114, allocations: 0 / 0.5685 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4114, allocations: 4 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.4114, allocations: 4.094 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.4114, allocations: 0 / 0.5685 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.4114, allocations: 0 / 0.5685 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.4114, allocations: 0 / 0.5685 GB, free: 13.22 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.587e-05/0.4115, allocations: 140.9 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.4116, allocations: 3.938 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.182e-05/0.4116, allocations: 6.984 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.4116, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4116, allocations: 7.938 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4116, allocations: 4 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.4117, allocations: 116.8 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.4117, allocations: 0 / 0.5688 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.4117, allocations: 0 / 0.5688 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4117, allocations: 3.938 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.4117, allocations: 0 / 0.5688 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4117, allocations: 3.984 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4117, allocations: 4 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.4118, allocations: 90.78 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.4118, allocations: 7.984 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.4118, allocations: 7.922 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.4118, allocations: 0 / 0.5689 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.4118, allocations: 0 / 0.5689 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4118, allocations: 0 / 0.5689 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.252e-05/0.4119, allocations: 79.28 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4119, allocations: 0 / 0.5689 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0004455/0.4123, allocations: 159.5 kB / 0.5691 GB, free: 12.51 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.0007331/0.4131, allocations: 390 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001071/0.4132, allocations: 63.41 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4132, allocations: 0 / 0.5695 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.4132, allocations: 55.41 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.4133, allocations: 3.938 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.4135, allocations: 84.98 kB / 0.5697 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4138, allocations: 0.669 MB / 0.5703 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.899e-06/0.4138, allocations: 0 / 0.5703 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.4138, allocations: 11.44 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.4138, allocations: 0 / 0.5703 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of Templates: time 0.008813/0.4226, allocations: 4.62 MB / 0.5748 GB, free: 6.539 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.372375200502574]