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.001483/0.001483, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001174/0.001174, allocations: 166.2 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9979/0.9979, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] 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.2726/0.2726, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 266.7 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 2.094e-06/2.094e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.45e-05, allocations: 5.312 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001749/0.001783, allocations: 0.5211 MB / 326.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.005407, allocations: 2.374 MB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.005435, allocations: 0 / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.005449, allocations: 0 / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.005455, allocations: 0 / 328.8 MB, free: 4.219 MB / 298.7 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.002686/0.008141, allocations: 1.082 MB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.008195, allocations: 0 / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.008238, allocations: 8.609 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.008272, allocations: 11.92 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.328e-05/0.008295, allocations: 0 / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.008304, allocations: 0 / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.009974, allocations: 1.065 MB / 331 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.009982, allocations: 0 / 331 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.009999, allocations: 7.984 kB / 331 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006831/0.01068, allocations: 0.5338 MB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.01069, allocations: 7.984 kB / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01069, allocations: 0 / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.0107, allocations: 0 / 331.5 MB, free: 1.496 MB / 298.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.0003514/0.01105, allocations: 337.5 kB / 331.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.01108, allocations: 8.031 kB / 331.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.01111, allocations: 0.9375 kB / 331.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.723e-05/0.01118, allocations: 109.8 kB / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.01119, allocations: 384 / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.0112, allocations: 4.359 kB / 332 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.373e-05/0.01127, allocations: 55.97 kB / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.01128, allocations: 192 / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.01128, allocations: 384 / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.01129, allocations: 7.922 kB / 332 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.01131, allocations: 33.64 kB / 332.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.282e-05/0.01138, allocations: 57.05 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.01144, allocations: 44.31 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.01146, allocations: 34.56 kB / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-06/0.01146, allocations: 3.938 kB / 332.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.0115, allocations: 60.33 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.0115, allocations: 0 / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.01162, allocations: 114.7 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.01166, allocations: 81.11 kB / 332.5 MB, free: 404 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.879e-05/0.0117, allocations: 89.86 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.01171, allocations: 25.7 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.01173, allocations: 88.12 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.01175, allocations: 1.5 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.01178, allocations: 21.7 kB / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01189, allocations: 314.8 kB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.01191, allocations: 25.7 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.01192, allocations: 29.7 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.01197, allocations: 60.27 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01197, allocations: 0 / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.221e-05/0.01204, allocations: 89.03 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.01207, allocations: 29.7 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01208, allocations: 4 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.01209, allocations: 4.094 kB / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.01209, allocations: 0 / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.0121, allocations: 0 / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.01211, allocations: 0 / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.01212, allocations: 3.938 kB / 333.2 MB, free: 15.54 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.272e-05/0.01219, allocations: 139.5 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.0122, allocations: 0 / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.014e-05/0.01221, allocations: 7 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01221, allocations: 0 / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.01221, allocations: 0 / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01222, allocations: 4 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.549e-05/0.01227, allocations: 66.59 kB / 333.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01227, allocations: 0 / 333.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-06/0.01228, allocations: 8 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01228, allocations: 0 / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.01229, allocations: 0 / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.01229, allocations: 3.984 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01229, allocations: 0 / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.936e-05/0.01238, allocations: 116.4 kB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.01239, allocations: 12.31 kB / 333.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.01241, allocations: 4.031 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.01242, allocations: 0 / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.01243, allocations: 0 / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.01244, allocations: 4 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.058e-05/0.01245, allocations: 4.859 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01245, allocations: 0 / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004103/0.01286, allocations: 155.5 kB / 333.7 MB, free: 14.96 MB / 314.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 (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.0007783/0.01364, allocations: 426.5 kB / 334.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.01374, allocations: 123.6 kB / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.01375, allocations: 0 / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.01378, allocations: 85.97 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.056e-05/0.01384, allocations: 8.062 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.01402, allocations: 108.9 kB / 334.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.01405, allocations: 59.34 kB / 334.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.53e-06/0.01406, allocations: 0 / 334.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.0141, allocations: 51.38 kB / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0141, allocations: 0 / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of Templates: time 0.01096/0.02506, allocations: 6.086 MB / 340.7 MB, free: 7.934 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9722183221019804]