Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 79.92 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 158.6 MB / 186 MB, free: 2.727 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1351/0.1351, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.877e-05, allocations: 2.312 kB / 299 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001017/0.001036, allocations: 489.5 kB / 299.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.164/0.165, allocations: 2.292 MB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.165, allocations: 0 / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1651, allocations: 1.344 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.795e-06/0.1651, allocations: 0 / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.1673, allocations: 1.188 MB / 303 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.1673, allocations: 1.875 kB / 303 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.1673, allocations: 4.391 kB / 303 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.1674, allocations: 1.281 kB / 303 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.807e-05/0.1674, allocations: 1.25 kB / 303 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.1674, allocations: 5 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.1687, allocations: 0.9713 MB / 304 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.1687, allocations: 2.328 kB / 304 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.1687, allocations: 3.984 kB / 304 MB, free: 18.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.1693, allocations: 0.5043 MB / 304.5 MB, free: 18.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1693, allocations: 1.25 kB / 304.5 MB, free: 18.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1693, allocations: 2.844 kB / 304.5 MB, free: 18.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1693, allocations: 0 / 304.5 MB, free: 18.73 MB / 282.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.0003792/0.1697, allocations: 326.5 kB / 304.8 MB, free: 18.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1698, allocations: 9.875 kB / 304.8 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1698, allocations: 6.094 kB / 304.8 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.585e-05/0.1698, allocations: 104 kB / 304.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1699, allocations: 2.281 kB / 304.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.1699, allocations: 5.031 kB / 304.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.293e-05/0.1699, allocations: 59.92 kB / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1699, allocations: 192 / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1699, allocations: 2.797 kB / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.17, allocations: 3.938 kB / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.313e-05/0.17, allocations: 28.02 kB / 305 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.964e-05/0.17, allocations: 55.95 kB / 305.1 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.046e-05/0.1701, allocations: 43.59 kB / 305.1 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.1701, allocations: 32.45 kB / 305.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-06/0.1701, allocations: 4.938 kB / 305.2 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1701, allocations: 62.78 kB / 305.2 MB, free: 17.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.1701, allocations: 0 / 305.2 MB, free: 17.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001092/0.1702, allocations: 115.2 kB / 305.3 MB, free: 17.83 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1703, allocations: 83.44 kB / 305.4 MB, free: 17.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.556e-05/0.1703, allocations: 94.41 kB / 305.5 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.1703, allocations: 25.7 kB / 305.5 MB, free: 17.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-06/0.1703, allocations: 81.52 kB / 305.6 MB, free: 17.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.1703, allocations: 1.375 kB / 305.6 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.1703, allocations: 13.77 kB / 305.6 MB, free: 17.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.1704, allocations: 316.4 kB / 305.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.1704, allocations: 27.61 kB / 306 MB, free: 17.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-06/0.1704, allocations: 31.3 kB / 306 MB, free: 17.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.1704, allocations: 61.3 kB / 306 MB, free: 17.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1704, allocations: 5.062 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.879e-05/0.1705, allocations: 83.52 kB / 306.1 MB, free: 16.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1705, allocations: 36.7 kB / 306.2 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1705, allocations: 0 / 306.2 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1705, allocations: 4.781 kB / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-06/0.1705, allocations: 1.531 kB / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.1705, allocations: 0 / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.1705, allocations: 0 / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1705, allocations: 1.969 kB / 306.2 MB, free: 16.91 MB / 282.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.039e-05/0.1706, allocations: 143.6 kB / 306.3 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-06/0.1706, allocations: 6.531 kB / 306.3 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.131e-05/0.1706, allocations: 5.438 kB / 306.3 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1706, allocations: 0 / 306.3 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1706, allocations: 0.6562 kB / 306.3 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1706, allocations: 0 / 306.3 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.513e-05/0.1707, allocations: 65.25 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-07/0.1707, allocations: 0 / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.1707, allocations: 0.6562 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1707, allocations: 1.344 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.1707, allocations: 0 / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1707, allocations: 6.547 kB / 306.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1707, allocations: 0 / 306.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.47e-05/0.1707, allocations: 117.2 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.1707, allocations: 6.125 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1707, allocations: 2.016 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-06/0.1707, allocations: 1.078 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.1707, allocations: 2.5 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1708, allocations: 1.672 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.214e-06/0.1708, allocations: 8.797 kB / 306.5 MB, free: 16.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1708, allocations: 0 / 306.5 MB, free: 16.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.1711, allocations: 149.9 kB / 306.7 MB, free: 16.48 MB / 282.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.0006891/0.1718, allocations: 391.3 kB / 307.1 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.065e-05/0.1719, allocations: 124.7 kB / 307.2 MB, free: 16.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1719, allocations: 0 / 307.2 MB, free: 16.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.1719, allocations: 87.58 kB / 307.3 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.695e-05/0.1719, allocations: 7.578 kB / 307.3 MB, free: 16.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001477/0.1721, allocations: 109.3 kB / 307.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.262e-05/0.1721, allocations: 53.7 kB / 307.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.873e-06/0.1721, allocations: 0.9375 kB / 307.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.1722, allocations: 52.92 kB / 307.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1722, allocations: 128 / 307.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Templates: time 0.008811/0.181, allocations: 5.693 MB / 313.2 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4657215201295912]