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.001866/0.001866, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.002279/0.002279, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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 1.478/1.478, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2459/0.2459, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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 2.806e-06/2.806e-06, allocations: 0 / 346.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.531e-05/4.811e-05, allocations: 2.312 kB / 346.9 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.00187/0.001918, allocations: 0.492 MB / 347.4 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.004972, allocations: 2.208 MB / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.005007, allocations: 0 / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.00502, allocations: 0 / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.181e-06/0.005026, allocations: 0 / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.007619, allocations: 1.156 MB / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.007673, allocations: 0 / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.00772, allocations: 4 kB / 350.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.007747, allocations: 0 / 350.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.165e-05/0.007779, allocations: 4 kB / 350.8 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.007789, allocations: 0 / 350.8 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.009004, allocations: 0.9441 MB / 351.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.009014, allocations: 0 / 351.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.009043, allocations: 0 / 351.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.009622, allocations: 0.5066 MB / 352.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.009626, allocations: 0 / 352.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.009627, allocations: 0 / 352.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.009633, allocations: 0 / 352.2 MB, free: 4.512 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.0003685/0.01, allocations: 351.4 kB / 352.5 MB, free: 4.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.01004, allocations: 8.031 kB / 352.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.0101, allocations: 8.922 kB / 352.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.628e-05/0.01015, allocations: 101.8 kB / 352.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.01017, allocations: 4.375 kB / 352.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.01018, allocations: 4.312 kB / 352.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.01027, allocations: 59.97 kB / 352.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.01028, allocations: 192 / 352.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.01029, allocations: 8.297 kB / 352.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.01029, allocations: 3.938 kB / 352.7 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.452e-05/0.01032, allocations: 29.7 kB / 352.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.045e-05/0.0104, allocations: 97.31 kB / 352.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.01046, allocations: 44.31 kB / 352.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.01047, allocations: 38.5 kB / 352.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.01048, allocations: 4 kB / 353 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.01052, allocations: 60.33 kB / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.01052, allocations: 0 / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000186/0.0107, allocations: 114.8 kB / 353.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.01073, allocations: 85.05 kB / 353.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.382e-05/0.01076, allocations: 89.86 kB / 353.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.01076, allocations: 29.7 kB / 353.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.01078, allocations: 80.14 kB / 353.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.0108, allocations: 0 / 353.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.01082, allocations: 13.72 kB / 353.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.01088, allocations: 319 kB / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.01089, allocations: 29.64 kB / 353.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.01091, allocations: 25.7 kB / 353.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.01095, allocations: 64.27 kB / 353.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01095, allocations: 0 / 353.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.588e-05/0.011, allocations: 89.09 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.01103, allocations: 33.7 kB / 354 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01103, allocations: 0 / 354 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01105, allocations: 0 / 354 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.01105, allocations: 4.094 kB / 354 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01106, allocations: 3.938 kB / 354 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.01108, allocations: 3.953 kB / 354 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.01108, allocations: 4 kB / 354 MB, free: 2.461 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 5.396e-05/0.01114, allocations: 139.5 kB / 354.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.01115, allocations: 7.984 kB / 354.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.014e-05/0.01116, allocations: 3 kB / 354.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.01116, allocations: 0 / 354.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01116, allocations: 0 / 354.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01117, allocations: 3.938 kB / 354.1 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.082e-05/0.01121, allocations: 101.3 kB / 354.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.01121, allocations: 3.938 kB / 354.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.01121, allocations: 0 / 354.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.01121, allocations: 0 / 354.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01122, allocations: 4 kB / 354.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.01122, allocations: 0 / 354.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.01122, allocations: 0 / 354.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.048e-05/0.01131, allocations: 124.5 kB / 354.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-06/0.01131, allocations: 0 / 354.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.01132, allocations: 3.984 kB / 354.4 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.01133, allocations: 0 / 354.4 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.01135, allocations: 7.969 kB / 354.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.01135, allocations: 4 kB / 354.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.722e-05/0.01137, allocations: 79.22 kB / 354.4 MB, free: 1.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01137, allocations: 0 / 354.4 MB, free: 1.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003892/0.01176, allocations: 147.5 kB / 354.6 MB, free: 1.766 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.0006711/0.01243, allocations: 400.9 kB / 355 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.569e-05/0.01252, allocations: 114.8 kB / 355.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01252, allocations: 0 / 355.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.01254, allocations: 81.11 kB / 355.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.01267, allocations: 4 kB / 355.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.01286, allocations: 112 kB / 355.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.645e-05/0.01288, allocations: 55.48 kB / 355.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.591e-06/0.01289, allocations: 3.938 kB / 355.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.0129, allocations: 12.5 kB / 355.4 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0129, allocations: 0 / 355.4 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of Templates: time 0.009329/0.02223, allocations: 4.395 MB / 359.8 MB, free: 12.51 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.114346917020157]