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.0009354/0.0009354, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001548/0.001548, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.9577/0.9577, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1554/0.1554, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.683e-06/1.683e-06, allocations: 0 / 347.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.126e-05, allocations: 4.281 kB / 347.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0008758/0.000897, allocations: 0.5042 MB / 348.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.00285, allocations: 2.272 MB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.002873, allocations: 0 / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.00289, allocations: 3.938 kB / 350.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.002897, allocations: 4 kB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.004476, allocations: 1.159 MB / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.004527, allocations: 0 / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.023e-05/0.004557, allocations: 7.984 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.004585, allocations: 4 kB / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.405e-05/0.004609, allocations: 0 / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.004617, allocations: 4 kB / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000872/0.005489, allocations: 0.9519 MB / 352.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.005499, allocations: 3.938 kB / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.005521, allocations: 3.984 kB / 352.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.005958, allocations: 0.4949 MB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005961, allocations: 0 / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005962, allocations: 7.938 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.005968, allocations: 0 / 353 MB, free: 4.043 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.0003912/0.006359, allocations: 453.4 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.006401, allocations: 12.03 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.006443, allocations: 8.875 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.385e-05/0.006497, allocations: 104.6 kB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.006509, allocations: 384 / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.006519, allocations: 384 / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.723e-05/0.006606, allocations: 63.89 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006613, allocations: 192 / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.006622, allocations: 384 / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.00663, allocations: 3.938 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.51e-05/0.006645, allocations: 33.69 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.058e-05/0.006716, allocations: 108.6 kB / 353.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.00676, allocations: 56.8 kB / 353.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.006783, allocations: 37.38 kB / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.00679, allocations: 0 / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.006832, allocations: 67.09 kB / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.006833, allocations: 0 / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.006982, allocations: 118.8 kB / 354.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.007013, allocations: 81.05 kB / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.795e-05/0.007051, allocations: 142.2 kB / 354.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.007057, allocations: 25.7 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.482e-05/0.007072, allocations: 131 kB / 354.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.007091, allocations: 4.344 kB / 354.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.00711, allocations: 15.38 kB / 354.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.007154, allocations: 0.4884 MB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.007165, allocations: 25.7 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.007173, allocations: 29.69 kB / 355 MB, free: 1.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.00721, allocations: 67.03 kB / 355.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007212, allocations: 0 / 355.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.931e-05/0.007251, allocations: 89.06 kB / 355.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.007271, allocations: 41.69 kB / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007276, allocations: 4.094 kB / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.007288, allocations: 0 / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-06/0.007293, allocations: 0 / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.007299, allocations: 3.938 kB / 355.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.007309, allocations: 0 / 355.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.007315, allocations: 0 / 355.2 MB, free: 1.559 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.011e-05/0.007355, allocations: 186.2 kB / 355.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-06/0.00736, allocations: 3.938 kB / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-06/0.007368, allocations: 10.94 kB / 355.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-07/0.007369, allocations: 0 / 355.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.007371, allocations: 4 kB / 355.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007374, allocations: 3.938 kB / 355.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.417e-05/0.007409, allocations: 112.6 kB / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.007409, allocations: 0 / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.007409, allocations: 4 kB / 355.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.00741, allocations: 0 / 355.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.007416, allocations: 0 / 355.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.007416, allocations: 0 / 355.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007417, allocations: 0 / 355.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.042e-05/0.007467, allocations: 131.8 kB / 355.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-06/0.007471, allocations: 8.031 kB / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.007484, allocations: 0 / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-06/0.007489, allocations: 0 / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.007502, allocations: 0 / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.007504, allocations: 4 kB / 355.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.457e-05/0.007519, allocations: 123.1 kB / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007519, allocations: 3.938 kB / 355.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.007776, allocations: 147.6 kB / 356 MB, free: 0.7422 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.0004647/0.008241, allocations: 400.5 kB / 356.3 MB, free: 360 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.68e-05/0.008328, allocations: 118.5 kB / 356.5 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.00833, allocations: 0 / 356.5 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.849e-05/0.008348, allocations: 92.78 kB / 356.5 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.76e-05/0.008436, allocations: 8.125 kB / 356.6 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.008627, allocations: 113.7 kB / 356.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.008666, allocations: 55.34 kB / 356.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.122e-06/0.008672, allocations: 0 / 356.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.008687, allocations: 8.5 kB / 356.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008688, allocations: 0 / 356.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of Templates: time 0.008768/0.01746, allocations: 7.094 MB / 363.8 MB, free: 8.762 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.266251662746072]