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.001821/0.001821, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002531/0.002531, allocations: 164.3 kB / 24.5 MB, free: 3.453 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.517/1.517, allocations: 177.1 MB / 204.7 MB, free: 9.02 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.2258/0.2258, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] 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.002652/0.002652, allocations: 84.14 kB / 443.1 MB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3886, allocations: 66.05 MB / 0.4972 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.00159/0.3902, allocations: 491.6 kB / 0.4977 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.3932, allocations: 2.287 MB / 0.4999 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.3932, allocations: 0 / 0.4999 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.3932, allocations: 7.125 kB / 0.4999 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.3932, allocations: 4 kB / 0.4999 GB, free: 28.19 MB / 446.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.002609/0.3958, allocations: 1.093 MB / 0.501 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.3959, allocations: 3.516 kB / 0.501 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.3959, allocations: 3.438 kB / 0.501 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.396, allocations: 3.984 kB / 0.501 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.495e-05/0.396, allocations: 0 / 0.501 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-06/0.396, allocations: 4 kB / 0.501 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.3973, allocations: 0.973 MB / 0.502 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.3973, allocations: 0 / 0.502 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.3973, allocations: 0 / 0.502 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.3978, allocations: 448 kB / 0.5024 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3978, allocations: 0 / 0.5024 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3978, allocations: 0 / 0.5024 GB, free: 27.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3978, allocations: 0 / 0.5024 GB, free: 27.14 MB / 446.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.0003866/0.3982, allocations: 365.7 kB / 0.5027 GB, free: 26.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3983, allocations: 13.25 kB / 0.5028 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.3983, allocations: 0.9375 kB / 0.5028 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.611e-05/0.3984, allocations: 105.6 kB / 0.5029 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3984, allocations: 384 / 0.5029 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.3984, allocations: 4.375 kB / 0.5029 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.902e-05/0.3985, allocations: 70.25 kB / 0.5029 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3985, allocations: 0 / 0.5029 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3985, allocations: 0 / 0.5029 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3985, allocations: 3.094 kB / 0.5029 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.3985, allocations: 29.69 kB / 0.503 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.417e-05/0.3986, allocations: 100.6 kB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/0.3986, allocations: 51.78 kB / 0.5031 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.3987, allocations: 33.75 kB / 0.5031 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.3987, allocations: 0 / 0.5031 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3987, allocations: 63.45 kB / 0.5032 GB, free: 26.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3987, allocations: 0 / 0.5032 GB, free: 26.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001584/0.3989, allocations: 120.9 kB / 0.5033 GB, free: 26.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3989, allocations: 77.11 kB / 0.5034 GB, free: 26.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.127e-05/0.3989, allocations: 97.16 kB / 0.5035 GB, free: 25.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.3989, allocations: 25.7 kB / 0.5035 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.057e-05/0.3989, allocations: 84.27 kB / 0.5036 GB, free: 25.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3989, allocations: 3.938 kB / 0.5036 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.399, allocations: 16.91 kB / 0.5036 GB, free: 25.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.399, allocations: 314.3 kB / 0.5039 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.399, allocations: 28.92 kB / 0.5039 GB, free: 25.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.399, allocations: 29.7 kB / 0.504 GB, free: 25.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.3991, allocations: 63.39 kB / 0.504 GB, free: 25.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3991, allocations: 0 / 0.504 GB, free: 25.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.762e-05/0.3991, allocations: 90.12 kB / 0.5041 GB, free: 25.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3992, allocations: 33.02 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3992, allocations: 0 / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3992, allocations: 7.219 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.3992, allocations: 4 kB / 0.5042 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3992, allocations: 0 / 0.5042 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.3992, allocations: 4 kB / 0.5042 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3992, allocations: 0 / 0.5042 GB, free: 25.19 MB / 446.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 5.04e-05/0.3993, allocations: 138.2 kB / 0.5043 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-06/0.3993, allocations: 0 / 0.5043 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.3993, allocations: 10.28 kB / 0.5043 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3993, allocations: 4 kB / 0.5043 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3993, allocations: 0 / 0.5043 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3993, allocations: 0 / 0.5043 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.312e-05/0.3993, allocations: 100.8 kB / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3993, allocations: 3.281 kB / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3993, allocations: 0 / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3993, allocations: 0 / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3993, allocations: 0 / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3993, allocations: 3.938 kB / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3993, allocations: 0 / 0.5044 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.469e-05/0.3994, allocations: 116.9 kB / 0.5045 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-06/0.3994, allocations: 4.031 kB / 0.5045 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.3994, allocations: 3.25 kB / 0.5045 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-06/0.3994, allocations: 3.938 kB / 0.5045 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.3994, allocations: 7.938 kB / 0.5045 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3994, allocations: 3.156 kB / 0.5045 GB, free: 24.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.238e-05/0.3995, allocations: 75.28 kB / 0.5046 GB, free: 24.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3995, allocations: 0 / 0.5046 GB, free: 24.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.3999, allocations: 160.2 kB / 0.5048 GB, free: 24.64 MB / 446.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.0006046/0.4005, allocations: 387 kB / 0.5051 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.293e-05/0.4005, allocations: 116.5 kB / 0.5052 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4005, allocations: 0 / 0.5052 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.4006, allocations: 89.83 kB / 0.5053 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.4007, allocations: 2.531 kB / 0.5053 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.4008, allocations: 109.2 kB / 0.5054 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.4009, allocations: 54.69 kB / 0.5055 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.779e-06/0.4009, allocations: 3 kB / 0.5055 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.4009, allocations: 8.5 kB / 0.5055 GB, free: 24.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4009, allocations: 0 / 0.5055 GB, free: 24.01 MB / 446.1 MB Notification: Performance of Templates: time 0.007908/0.4088, allocations: 4.62 MB / 0.51 GB, free: 23.51 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/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.251493872026913]