Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.001346/0.001346, allocations: 76.06 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.001688/0.001688, 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.035/1.035, allocations: 158.6 MB / 186 MB, free: 2.773 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.1622/0.1622, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.6e-05, allocations: 6.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001298/0.001324, allocations: 0.5212 MB / 299.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1387/0.14, allocations: 2.294 MB / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.14, allocations: 0 / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.14, allocations: 1 kB / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-06/0.14, allocations: 0 / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.1424, allocations: 1.138 MB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.1424, allocations: 1.094 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1425, allocations: 6.641 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.1425, allocations: 1.094 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.1425, allocations: 1.453 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.744e-06/0.1425, allocations: 0 / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.1441, allocations: 1.025 MB / 304.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.1441, allocations: 0.5312 kB / 304.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.1441, allocations: 1.281 kB / 304.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.1448, allocations: 0.4995 MB / 304.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1448, allocations: 0.5 kB / 304.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1448, allocations: 0 / 304.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1448, allocations: 1.969 kB / 304.6 MB, free: 18.68 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.0002931/0.1451, allocations: 333.3 kB / 304.9 MB, free: 18.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1451, allocations: 10.98 kB / 304.9 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.1452, allocations: 2.031 kB / 304.9 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.786e-05/0.1452, allocations: 111.7 kB / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1452, allocations: 1.5 kB / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.1452, allocations: 1.438 kB / 305 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.012e-05/0.1453, allocations: 56.22 kB / 305.1 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1453, allocations: 192 / 305.1 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1453, allocations: 5.344 kB / 305.1 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1453, allocations: 4.438 kB / 305.1 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.315e-05/0.1453, allocations: 32.36 kB / 305.1 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.852e-05/0.1454, allocations: 55.78 kB / 305.2 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.343e-05/0.1454, allocations: 47.11 kB / 305.2 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.1454, allocations: 37.92 kB / 305.2 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-06/0.1454, allocations: 0 / 305.2 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1454, allocations: 59.45 kB / 305.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.1454, allocations: 0 / 305.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.104e-05/0.1455, allocations: 111.7 kB / 305.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/0.1455, allocations: 86.84 kB / 305.5 MB, free: 17.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.639e-05/0.1456, allocations: 90.56 kB / 305.6 MB, free: 17.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-06/0.1456, allocations: 25.7 kB / 305.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-06/0.1456, allocations: 81.11 kB / 305.7 MB, free: 17.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.1456, allocations: 2.406 kB / 305.7 MB, free: 17.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.1456, allocations: 12.75 kB / 305.7 MB, free: 17.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.865e-05/0.1456, allocations: 320.5 kB / 306 MB, free: 17.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.1456, allocations: 27.66 kB / 306 MB, free: 17.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.1456, allocations: 28.31 kB / 306.1 MB, free: 17.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.1457, allocations: 68.97 kB / 306.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1457, allocations: 1.312 kB / 306.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.118e-05/0.1457, allocations: 84.8 kB / 306.2 MB, free: 16.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1458, allocations: 31.97 kB / 306.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1458, allocations: 3.938 kB / 306.3 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1458, allocations: 1.156 kB / 306.3 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.1458, allocations: 0.5625 kB / 306.3 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.1458, allocations: 0 / 306.3 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.1458, allocations: 5.797 kB / 306.3 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1458, allocations: 5 kB / 306.3 MB, free: 16.84 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 3.908e-05/0.1458, allocations: 139.1 kB / 306.4 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1458, allocations: 2.781 kB / 306.4 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.1459, allocations: 3.844 kB / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1459, allocations: 0 / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1459, allocations: 1.641 kB / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1459, allocations: 1.516 kB / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.319e-05/0.1459, allocations: 65.39 kB / 306.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1459, allocations: 4.688 kB / 306.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.1459, allocations: 0 / 306.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.1459, allocations: 0 / 306.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.1459, allocations: 7.359 kB / 306.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.1459, allocations: 0 / 306.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1459, allocations: 1.531 kB / 306.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.199e-05/0.146, allocations: 120.8 kB / 306.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.146, allocations: 1.938 kB / 306.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.146, allocations: 2.062 kB / 306.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.146, allocations: 0.6094 kB / 306.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-06/0.146, allocations: 2.234 kB / 306.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.146, allocations: 0 / 306.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.851e-06/0.146, allocations: 6.141 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.146, allocations: 0 / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.1463, allocations: 145.1 kB / 306.8 MB, free: 16.42 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.0005656/0.1469, allocations: 407.4 kB / 307.2 MB, free: 16.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.1469, allocations: 116 kB / 307.3 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1469, allocations: 0 / 307.3 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.147, allocations: 87.23 kB / 307.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.702e-05/0.147, allocations: 6.969 kB / 307.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001206/0.1471, allocations: 110.7 kB / 307.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.544e-05/0.1471, allocations: 53.61 kB / 307.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.199e-06/0.1471, allocations: 0 / 307.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.1472, allocations: 58.56 kB / 307.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1472, allocations: 4.125 kB / 307.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Templates: time 0.007738/0.1549, allocations: 5.685 MB / 313.3 MB, free: 13.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.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.098531332798302]