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.001036/0.001036, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.000985/0.000985, allocations: 169 kB / 24.14 MB, free: 364 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 0.9494/0.9494, allocations: 158.6 MB / 186 MB, free: 2.77 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.1373/0.1373, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.583e-06/1.583e-06, allocations: 0 / 299 MB, free: 2.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.282e-05, allocations: 2.312 kB / 299 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001258/0.001281, allocations: 489.5 kB / 299.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1523/0.1535, allocations: 2.296 MB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.1536, allocations: 0.5469 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.1536, allocations: 0 / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.745e-06/0.1536, allocations: 1.125 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.1563, allocations: 1.186 MB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.1563, allocations: 4.969 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1564, allocations: 1.734 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.1564, allocations: 1.812 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.1564, allocations: 2.531 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.1564, allocations: 0 / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.1581, allocations: 0.9727 MB / 304 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1581, allocations: 1.281 kB / 304 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1581, allocations: 1.188 kB / 304 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.1589, allocations: 0.5046 MB / 304.5 MB, free: 18.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1589, allocations: 3.594 kB / 304.5 MB, free: 18.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1589, allocations: 1.344 kB / 304.5 MB, free: 18.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.1589, allocations: 0 / 304.5 MB, free: 18.75 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.0004323/0.1593, allocations: 330.6 kB / 304.8 MB, free: 18.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1594, allocations: 9.438 kB / 304.8 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1594, allocations: 2.672 kB / 304.8 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.637e-05/0.1595, allocations: 108.7 kB / 304.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1595, allocations: 384 / 304.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1595, allocations: 1.5 kB / 304.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.1595, allocations: 59.64 kB / 305 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1596, allocations: 5.484 kB / 305 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.1596, allocations: 4.5 kB / 305 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1596, allocations: 3.938 kB / 305 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.296e-05/0.1596, allocations: 28.69 kB / 305 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.173e-05/0.1596, allocations: 55.95 kB / 305.1 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.901e-05/0.1597, allocations: 43.97 kB / 305.1 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.1597, allocations: 39.06 kB / 305.2 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-06/0.1597, allocations: 0 / 305.2 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1597, allocations: 59.2 kB / 305.2 MB, free: 17.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1597, allocations: 0 / 305.2 MB, free: 17.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001134/0.1598, allocations: 119.5 kB / 305.3 MB, free: 17.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.1599, allocations: 78.92 kB / 305.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.43e-05/0.1599, allocations: 90.61 kB / 305.5 MB, free: 17.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.1599, allocations: 26.86 kB / 305.5 MB, free: 17.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/0.1599, allocations: 81.27 kB / 305.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1599, allocations: 1.375 kB / 305.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.16, allocations: 12.72 kB / 305.6 MB, free: 17.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.16, allocations: 316.4 kB / 305.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.16, allocations: 27.47 kB / 306 MB, free: 17.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.1601, allocations: 28.69 kB / 306 MB, free: 17.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.1601, allocations: 73.02 kB / 306.1 MB, free: 17.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1601, allocations: 0 / 306.1 MB, free: 17.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.82e-05/0.1602, allocations: 85.58 kB / 306.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.1602, allocations: 31.05 kB / 306.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1602, allocations: 0 / 306.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.1603, allocations: 2.906 kB / 306.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-06/0.1603, allocations: 0 / 306.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1603, allocations: 0 / 306.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.1603, allocations: 1.859 kB / 306.2 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1603, allocations: 2.375 kB / 306.2 MB, free: 16.93 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 8.209e-05/0.1604, allocations: 147.2 kB / 306.3 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-06/0.1604, allocations: 1.188 kB / 306.3 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.1604, allocations: 4.844 kB / 306.3 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1604, allocations: 0 / 306.3 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1604, allocations: 1.891 kB / 306.3 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1604, allocations: 0 / 306.3 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.582e-05/0.1605, allocations: 64.77 kB / 306.4 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1605, allocations: 3.938 kB / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-06/0.1605, allocations: 4.594 kB / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.1605, allocations: 1.125 kB / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1605, allocations: 5.094 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1605, allocations: 1.5 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1605, allocations: 1.453 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.346e-05/0.1606, allocations: 117.4 kB / 306.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.1606, allocations: 5.734 kB / 306.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1606, allocations: 1.828 kB / 306.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.1606, allocations: 2.25 kB / 306.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.1606, allocations: 1.859 kB / 306.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1606, allocations: 0 / 306.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.798e-06/0.1607, allocations: 5.891 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1607, allocations: 4.031 kB / 306.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006686/0.1613, allocations: 141.6 kB / 306.7 MB, free: 16.5 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.001082/0.1624, allocations: 403.7 kB / 307.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1625, allocations: 119.9 kB / 307.2 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.1626, allocations: 0 / 307.2 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.1626, allocations: 87.41 kB / 307.3 MB, free: 16.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.364e-05/0.1627, allocations: 9.484 kB / 307.3 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.1629, allocations: 110.8 kB / 307.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.1629, allocations: 53.67 kB / 307.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.983e-06/0.1629, allocations: 0 / 307.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.163, allocations: 53.45 kB / 307.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.163, allocations: 4.125 kB / 307.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Templates: time 0.01029/0.1732, allocations: 5.69 MB / 313.2 MB, free: 13.99 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 -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.341394664719701]