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.000966/0.000966, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001694/0.001694, allocations: 169.3 kB / 24.24 MB, free: 316 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.9343/0.9343, allocations: 158.6 MB / 186 MB, free: 2.918 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.1337/0.1337, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.433e-06/1.433e-06, allocations: 0 / 347.6 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.869e-05, allocations: 4.281 kB / 347.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0008829/0.0009016, allocations: 0.4964 MB / 348.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.003074, allocations: 2.265 MB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.003106, allocations: 0 / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.003121, allocations: 7.938 kB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.702e-06/0.003128, allocations: 0 / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.004851, allocations: 1.159 MB / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.00493, allocations: 7.984 kB / 351.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.004983, allocations: 0 / 351.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.005029, allocations: 0 / 351.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.005068, allocations: 4 kB / 351.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.005079, allocations: 0 / 351.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.006147, allocations: 0.9363 MB / 352.5 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.006158, allocations: 0 / 352.5 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.006184, allocations: 4 kB / 352.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.006602, allocations: 0.5027 MB / 353 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006604, allocations: 0 / 353 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006605, allocations: 3.938 kB / 353 MB, free: 4.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006609, allocations: 0 / 353 MB, free: 4.406 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.0003114/0.00692, allocations: 457.4 kB / 353.5 MB, free: 3.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.006958, allocations: 12.03 kB / 353.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.006997, allocations: 4.875 kB / 353.5 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.047e-05/0.007047, allocations: 104.6 kB / 353.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.007062, allocations: 384 / 353.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.007075, allocations: 4.375 kB / 353.6 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.00716, allocations: 55.91 kB / 353.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.007167, allocations: 192 / 353.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.007175, allocations: 4.359 kB / 353.6 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.007185, allocations: 7.938 kB / 353.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562e-05/0.007201, allocations: 37.69 kB / 353.7 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.469e-05/0.007276, allocations: 108.7 kB / 353.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.007311, allocations: 48.77 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.007325, allocations: 33.39 kB / 353.9 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.007329, allocations: 4.062 kB / 353.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.007362, allocations: 63.03 kB / 353.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.007363, allocations: 0 / 353.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.007551, allocations: 118.8 kB / 354.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.007581, allocations: 85.05 kB / 354.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.911e-05/0.007611, allocations: 142.2 kB / 354.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-06/0.007615, allocations: 29.83 kB / 354.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.175e-05/0.007627, allocations: 126.9 kB / 354.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.007646, allocations: 4.328 kB / 354.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.00767, allocations: 27.36 kB / 354.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.007731, allocations: 492.1 kB / 354.9 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.007745, allocations: 25.7 kB / 355 MB, free: 2.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.032e-05/0.007756, allocations: 29.7 kB / 355 MB, free: 2.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/0.007801, allocations: 63.03 kB / 355.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007803, allocations: 4 kB / 355.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.038e-05/0.007843, allocations: 97.11 kB / 355.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.007865, allocations: 33.7 kB / 355.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00787, allocations: 0 / 355.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.007883, allocations: 0 / 355.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.007884, allocations: 0 / 355.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.00789, allocations: 3.938 kB / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.007899, allocations: 0 / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.007905, allocations: 4 kB / 355.2 MB, free: 1.918 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 4.527e-05/0.007951, allocations: 186.2 kB / 355.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.007956, allocations: 7.938 kB / 355.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.306e-06/0.007964, allocations: 7.031 kB / 355.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.007965, allocations: 0 / 355.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.00797, allocations: 3.938 kB / 355.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.007975, allocations: 3.938 kB / 355.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.807e-05/0.008013, allocations: 112.6 kB / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.008013, allocations: 0 / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-07/0.008013, allocations: 0 / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.008014, allocations: 3.984 kB / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.008022, allocations: 0 / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.008022, allocations: 0 / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.008023, allocations: 0 / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.258e-05/0.008075, allocations: 139.8 kB / 355.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.008079, allocations: 0 / 355.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.008091, allocations: 0 / 355.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-06/0.008095, allocations: 0 / 355.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.00811, allocations: 8 kB / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.008112, allocations: 0 / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.71e-05/0.008129, allocations: 123.1 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008129, allocations: 0 / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.008377, allocations: 143.6 kB / 355.9 MB, free: 1.105 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.000472/0.008849, allocations: 392.7 kB / 356.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.008955, allocations: 122.5 kB / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.008957, allocations: 0 / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.008979, allocations: 92.86 kB / 356.5 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.128e-05/0.00907, allocations: 4 kB / 356.5 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001581/0.009228, allocations: 117.6 kB / 356.6 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.079e-05/0.009249, allocations: 51.36 kB / 356.7 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.959e-06/0.009254, allocations: 0 / 356.7 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.009266, allocations: 12.5 kB / 356.7 MB, free: 232 kB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009266, allocations: 0 / 356.7 MB, free: 232 kB / 282.7 MB Notification: Performance of Templates: time 0.005536/0.0148, allocations: 4.41 MB / 361.1 MB, free: 11.82 MB / 298.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.2970694340765476]