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.001142/0.001142, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00185/0.002993, allocations: 453.9 kB / 10.45 MB, free: 244 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.001184/0.001184, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.00268, allocations: 479.6 kB / 11.82 MB, free: 2.34 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.015/1.015, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09696/1.112, allocations: 53.88 MB / 243.9 MB, free: 14.86 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.2773/0.2773, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02952/0.3068, allocations: 13.24 MB / 292.8 MB, free: 6.398 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.583e-06/1.583e-06, allocations: 0 / 294.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.299e-05, allocations: 2.312 kB / 294.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001149/0.001172, allocations: 0.5261 MB / 294.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.003678, allocations: 2.382 MB / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.003697, allocations: 0 / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.639e-06/0.003701, allocations: 0 / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.003702, allocations: 0 / 297 MB, free: 2.211 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.001935/0.005637, allocations: 1.083 MB / 298.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.005691, allocations: 4 kB / 298.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.005726, allocations: 0 / 298.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.005763, allocations: 7.984 kB / 298.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.005791, allocations: 3.938 kB / 298.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.994e-06/0.005798, allocations: 0 / 298.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.007286, allocations: 1.046 MB / 299.1 MB, free: 64 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.007304, allocations: 4 kB / 299.1 MB, free: 60 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.007318, allocations: 0 / 299.1 MB, free: 60 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006258/0.007943, allocations: 458.9 kB / 299.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.007957, allocations: 0 / 299.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007958, allocations: 4 kB / 299.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.007969, allocations: 0 / 299.6 MB, free: 15.61 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.0003714/0.00834, allocations: 397.5 kB / 300 MB, free: 15.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.008379, allocations: 8.922 kB / 300 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.008413, allocations: 8.875 kB / 300 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.489e-05/0.008478, allocations: 121.8 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.008488, allocations: 384 / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.008499, allocations: 8.375 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.243e-05/0.008571, allocations: 51.97 kB / 300.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.008578, allocations: 4.172 kB / 300.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.008586, allocations: 4.375 kB / 300.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.008592, allocations: 7.938 kB / 300.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.457e-05/0.008606, allocations: 25.7 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.899e-05/0.008675, allocations: 61.03 kB / 300.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.008716, allocations: 44.22 kB / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.008734, allocations: 42.59 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-06/0.008737, allocations: 0 / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.008773, allocations: 56.27 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.008774, allocations: 0 / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.008895, allocations: 114.8 kB / 300.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.008956, allocations: 166.2 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.295e-05/0.008989, allocations: 89.86 kB / 300.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.008999, allocations: 25.7 kB / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.827e-05/0.009017, allocations: 80.14 kB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.009039, allocations: 0.6875 kB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.009064, allocations: 21.83 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.009137, allocations: 314.8 kB / 301.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.009155, allocations: 25.7 kB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.009169, allocations: 29.7 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.00921, allocations: 60.27 kB / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009212, allocations: 0 / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.034e-05/0.009272, allocations: 89.03 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.009312, allocations: 33.7 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009317, allocations: 0 / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.009326, allocations: 4.094 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.009328, allocations: 0 / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.009331, allocations: 0 / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.009346, allocations: 0 / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.009354, allocations: 7.938 kB / 301.4 MB, free: 13.47 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 6.719e-05/0.009422, allocations: 143.5 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.009428, allocations: 4 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-06/0.009436, allocations: 3 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.009438, allocations: 0 / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.00944, allocations: 0 / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.009442, allocations: 4 kB / 301.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.745e-05/0.009489, allocations: 65.84 kB / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.00949, allocations: 0 / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.009491, allocations: 0 / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.009496, allocations: 7.922 kB / 301.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.009498, allocations: 0 / 301.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.009502, allocations: 0 / 301.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.009502, allocations: 7.938 kB / 301.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009503, allocations: 0 / 301.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.488e-05/0.009578, allocations: 116.4 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.00959, allocations: 4 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-06/0.009596, allocations: 8.031 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.009605, allocations: 0 / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.009607, allocations: 0 / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.162e-06/0.009614, allocations: 4.859 kB / 301.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009614, allocations: 0 / 301.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.009945, allocations: 159.6 kB / 301.9 MB, free: 12.89 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.0006136/0.01056, allocations: 427 kB / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.01065, allocations: 111.7 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.01066, allocations: 4 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.0107, allocations: 89.95 kB / 302.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.095e-05/0.01076, allocations: 20.05 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001623/0.01092, allocations: 117.2 kB / 302.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.96e-05/0.01095, allocations: 55.3 kB / 302.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.102e-06/0.01096, allocations: 0 / 302.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.011, allocations: 55.38 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.011, allocations: 0 / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of Templates: time 0.008056/0.01905, allocations: 6.227 MB / 309 MB, free: 5.703 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9887140914797783]