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.0009493/0.0009493, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002364, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001139/0.001139, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002503, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.078/1.078, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.183, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2826/0.2826, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02749/0.3101, allocations: 13.24 MB / 292.6 MB, free: 6.477 MB / 282.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 1.272e-06/1.272e-06, allocations: 0 / 293.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.808e-05, allocations: 10.09 kB / 293.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001012/0.001031, allocations: 0.5137 MB / 294.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.003429, allocations: 2.386 MB / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.003442, allocations: 0 / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.758e-06/0.003446, allocations: 0 / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.12e-07/0.003446, allocations: 0 / 296.7 MB, free: 2.32 MB / 282.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.002005/0.005451, allocations: 1.081 MB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.576e-05/0.005507, allocations: 4 kB / 297.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.005541, allocations: 4 kB / 297.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.005571, allocations: 0 / 297.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.005598, allocations: 3.984 kB / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.005604, allocations: 0 / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.006957, allocations: 1.046 MB / 298.9 MB, free: 180 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-06/0.006965, allocations: 3.938 kB / 298.9 MB, free: 176 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.006979, allocations: 12 kB / 298.9 MB, free: 164 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.00748, allocations: 450.9 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.007493, allocations: 4 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007493, allocations: 0 / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.007504, allocations: 0 / 299.3 MB, free: 15.71 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.0003415/0.007846, allocations: 401.5 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.007878, allocations: 12.92 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.007908, allocations: 0.9375 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.918e-05/0.007957, allocations: 109.8 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.007966, allocations: 384 / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.007974, allocations: 4.375 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.00804, allocations: 59.91 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.008045, allocations: 192 / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.008052, allocations: 8.375 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.008057, allocations: 3.938 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.008073, allocations: 25.7 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.435e-05/0.008137, allocations: 65.02 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.008176, allocations: 44.28 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.008189, allocations: 34.66 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.008194, allocations: 3.938 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.008231, allocations: 64.27 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.008232, allocations: 0 / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.008339, allocations: 110.8 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.008506, allocations: 81.11 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.024e-05/0.008537, allocations: 93.86 kB / 300.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.008544, allocations: 25.7 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.008562, allocations: 80.14 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.008581, allocations: 0.6875 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.008605, allocations: 17.66 kB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.008681, allocations: 318.8 kB / 300.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.008695, allocations: 29.83 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.49e-05/0.00871, allocations: 37.64 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.008754, allocations: 60.27 kB / 301 MB, free: 13.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008756, allocations: 0 / 301 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.038e-05/0.008806, allocations: 85.09 kB / 301.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.008846, allocations: 33.7 kB / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008851, allocations: 0 / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.00886, allocations: 0 / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-06/0.008865, allocations: 0 / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.008868, allocations: 96 / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.008884, allocations: 4 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.008893, allocations: 7.938 kB / 301.1 MB, free: 13.68 MB / 298.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 5.619e-05/0.008949, allocations: 139.5 kB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.008955, allocations: 4 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-06/0.008964, allocations: 7 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.008965, allocations: 0 / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008967, allocations: 0 / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008969, allocations: 0 / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.249e-05/0.009012, allocations: 69.83 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.009012, allocations: 0 / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.009013, allocations: 4 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.009017, allocations: 3.938 kB / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.009018, allocations: 0 / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.009022, allocations: 3.984 kB / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.009023, allocations: 4 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.009024, allocations: 0 / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.786e-05/0.009082, allocations: 112.5 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.009091, allocations: 0 / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-06/0.009097, allocations: 4 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-06/0.009104, allocations: 0 / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.009113, allocations: 7.969 kB / 301.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.878e-06/0.009123, allocations: 4.859 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009123, allocations: 0 / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.009434, allocations: 155.6 kB / 301.6 MB, free: 13.1 MB / 298.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.000543/0.009977, allocations: 437.5 kB / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.01007, allocations: 115.7 kB / 302.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01008, allocations: 4 kB / 302.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.0101, allocations: 85.97 kB / 302.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.079e-05/0.01015, allocations: 15.53 kB / 302.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001418/0.01029, allocations: 125.2 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.01032, allocations: 55.48 kB / 302.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.01032, allocations: 0 / 302.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.01035, allocations: 51.38 kB / 302.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01035, allocations: 0 / 302.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Templates: time 0.00635/0.0167, allocations: 6.094 MB / 308.6 MB, free: 6.051 MB / 298.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 -emit_protected -ignoreHideResult -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: 3.006020899862051]