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.001047/0.001047, 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.0009604/0.0009604, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9364/0.9364, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1393/0.1393, allocations: 32.38 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.332e-06/1.332e-06, allocations: 0 / 347.6 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.035e-05, allocations: 6.312 kB / 347.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0009618/0.0009822, allocations: 0.5025 MB / 348.1 MB, free: 9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.003224, allocations: 2.269 MB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.003246, allocations: 0 / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.003262, allocations: 11.94 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/0.003269, allocations: 0 / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.004997, allocations: 1.163 MB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.005059, allocations: 0 / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.005098, allocations: 8 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.00513, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.00516, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.00517, allocations: 4 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.0062, allocations: 0.9519 MB / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.006209, allocations: 3.938 kB / 352.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.006228, allocations: 4 kB / 352.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.006647, allocations: 0.4988 MB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006649, allocations: 0 / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006649, allocations: 3.938 kB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.006653, allocations: 0 / 353 MB, free: 4.051 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.0002729/0.006926, allocations: 453.4 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.006963, allocations: 16.03 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.006997, allocations: 4.875 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.783e-05/0.007035, allocations: 104.6 kB / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.007045, allocations: 384 / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.007056, allocations: 4.375 kB / 353.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.094e-05/0.007137, allocations: 59.89 kB / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.007146, allocations: 4.188 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.007156, allocations: 384 / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.007164, allocations: 3.938 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.412e-05/0.007178, allocations: 29.69 kB / 353.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.941e-05/0.007247, allocations: 116.6 kB / 353.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.007283, allocations: 48.77 kB / 353.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.007297, allocations: 37.48 kB / 353.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.007301, allocations: 0 / 353.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.007326, allocations: 63.03 kB / 354 MB, free: 2.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.007327, allocations: 3.984 kB / 354 MB, free: 2.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001435/0.00747, allocations: 118.8 kB / 354.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.007494, allocations: 85.05 kB / 354.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.098e-05/0.007515, allocations: 142.2 kB / 354.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-06/0.007519, allocations: 25.83 kB / 354.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.007531, allocations: 130.9 kB / 354.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.007548, allocations: 352 / 354.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.007569, allocations: 23.36 kB / 354.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.00762, allocations: 492.1 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.007632, allocations: 29.7 kB / 355 MB, free: 1.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/0.00764, allocations: 29.7 kB / 355 MB, free: 1.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.00767, allocations: 67.03 kB / 355.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007672, allocations: 0 / 355.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.17e-05/0.007714, allocations: 93.05 kB / 355.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.007735, allocations: 33.8 kB / 355.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.00774, allocations: 0 / 355.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.007754, allocations: 0 / 355.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/0.007757, allocations: 0 / 355.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007763, allocations: 3.938 kB / 355.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.007773, allocations: 8 kB / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.007779, allocations: 0 / 355.2 MB, free: 1.562 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.419e-05/0.007823, allocations: 186.2 kB / 355.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-06/0.007828, allocations: 7.938 kB / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.047e-05/0.007838, allocations: 6.938 kB / 355.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.007839, allocations: 4 kB / 355.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007843, allocations: 0 / 355.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007846, allocations: 3.938 kB / 355.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.499e-05/0.007881, allocations: 108.6 kB / 355.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007882, allocations: 4 kB / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-07/0.007882, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.007883, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.007889, allocations: 3.984 kB / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.00789, allocations: 0 / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00789, allocations: 4 kB / 355.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.292e-05/0.007943, allocations: 131.8 kB / 355.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-06/0.007947, allocations: 3.984 kB / 355.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.007958, allocations: 0 / 355.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-06/0.007964, allocations: 4 kB / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.007974, allocations: 0 / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.007975, allocations: 0 / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.294e-05/0.007988, allocations: 123.1 kB / 355.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007988, allocations: 3.938 kB / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.008245, allocations: 147.6 kB / 356 MB, free: 0.7461 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.0004676/0.008712, allocations: 389.7 kB / 356.3 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.008796, allocations: 126.5 kB / 356.5 MB, free: 216 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008798, allocations: 0 / 356.5 MB, free: 216 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.008811, allocations: 92.86 kB / 356.5 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.057e-05/0.008902, allocations: 0 / 356.5 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.009079, allocations: 113.6 kB / 356.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.957e-05/0.009109, allocations: 51.36 kB / 356.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.519e-06/0.009113, allocations: 0 / 356.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.009128, allocations: 12.5 kB / 356.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009129, allocations: 0 / 356.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of Templates: time 0.005746/0.01487, allocations: 4.415 MB / 361.1 MB, free: 11.46 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.3525258018635213]