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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009163, allocations: 97.42 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.335/0.335, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000997/0.000997, allocations: 47.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1201, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001715/0.1219, allocations: 0.5347 MB / 487.5 MB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.1252, allocations: 2.392 MB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.1253, allocations: 4 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.1253, allocations: 0 / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-06/0.1253, allocations: 0 / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.1281, allocations: 1.028 MB / 491 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.094e-05/0.1282, allocations: 7.938 kB / 491 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1282, allocations: 3.984 kB / 491 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.1283, allocations: 0 / 491 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.909e-05/0.1283, allocations: 3.984 kB / 491 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.1283, allocations: 4 kB / 491 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.13, allocations: 0.9599 MB / 491.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.13, allocations: 0 / 491.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.1301, allocations: 4 kB / 491.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.1309, allocations: 419.4 kB / 492.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.131, allocations: 0 / 492.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.131, allocations: 0 / 492.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.131, allocations: 0 / 492.4 MB, free: 7.152 MB / 378.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.0005524/0.1315, allocations: 429.2 kB / 492.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1316, allocations: 8.031 kB / 492.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.1316, allocations: 4.922 kB / 492.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1318, allocations: 168.3 kB / 492.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1318, allocations: 4.375 kB / 493 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.1318, allocations: 4.375 kB / 493 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1319, allocations: 30.02 kB / 493 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1319, allocations: 4 kB / 493 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.132, allocations: 0 / 493 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.132, allocations: 0 / 493 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.132, allocations: 0 / 493 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.1322, allocations: 146 kB / 493.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.1322, allocations: 22.55 kB / 493.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.1323, allocations: 12.86 kB / 493.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.1323, allocations: 0 / 493.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.1323, allocations: 64.27 kB / 493.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1323, allocations: 0 / 493.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.1325, allocations: 67.3 kB / 493.3 MB, free: 6.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.1326, allocations: 81.05 kB / 493.4 MB, free: 5.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.631e-05/0.1326, allocations: 89.86 kB / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1326, allocations: 33.77 kB / 493.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.1327, allocations: 84.14 kB / 493.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1327, allocations: 3.938 kB / 493.6 MB, free: 5.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.1327, allocations: 13.72 kB / 493.6 MB, free: 5.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1328, allocations: 310.8 kB / 493.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1329, allocations: 0 / 493.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.1329, allocations: 7.984 kB / 493.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.1329, allocations: 60.33 kB / 494 MB, free: 5.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1329, allocations: 0 / 494 MB, free: 5.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.318e-05/0.133, allocations: 63.41 kB / 494 MB, free: 5.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.1331, allocations: 37.64 kB / 494.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1331, allocations: 0 / 494.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1331, allocations: 3.984 kB / 494.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-06/0.1331, allocations: 7.938 kB / 494.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1331, allocations: 0 / 494.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.1331, allocations: 0 / 494.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1332, allocations: 0 / 494.1 MB, free: 5.156 MB / 378.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.344e-05/0.1332, allocations: 139.6 kB / 494.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1333, allocations: 3.938 kB / 494.2 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.04e-05/0.1333, allocations: 3.125 kB / 494.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1333, allocations: 0 / 494.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1333, allocations: 0 / 494.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1333, allocations: 7.938 kB / 494.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.905e-05/0.1334, allocations: 153.7 kB / 494.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1334, allocations: 0 / 494.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.1334, allocations: 0 / 494.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1334, allocations: 3.938 kB / 494.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1334, allocations: 4 kB / 494.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1334, allocations: 4 kB / 494.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1334, allocations: 0 / 494.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1338, allocations: 0.6413 MB / 495 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1339, allocations: 77.11 kB / 495.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1339, allocations: 4.031 kB / 495.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1339, allocations: 0 / 495.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.1339, allocations: 3.938 kB / 495.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.1339, allocations: 4 kB / 495.1 MB, free: 3.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.134, allocations: 75.28 kB / 495.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.134, allocations: 0 / 495.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006776/0.1347, allocations: 152 kB / 495.3 MB, free: 3.742 MB / 378.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.0007017/0.1354, allocations: 362.7 kB / 495.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1355, allocations: 67.27 kB / 495.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1355, allocations: 0 / 495.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.1355, allocations: 55.47 kB / 495.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1357, allocations: 8.062 kB / 495.8 MB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.136, allocations: 169.5 kB / 496 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1363, allocations: 0.6731 MB / 496.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.416e-06/0.1363, allocations: 4 kB / 496.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.064e-05/0.1363, allocations: 7.438 kB / 496.7 MB, free: 2.316 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1363, allocations: 0 / 496.7 MB, free: 2.316 MB / 378.7 MB Notification: Performance of Templates: time 0.007708/0.144, allocations: 4.302 MB / 0.4892 GB, free: 14.01 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches