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.000782/0.000782, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007577/0.0007577, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8405/0.8405, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1469/0.1469, allocations: 32.37 MB / 270.3 MB, free: 14.98 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.653e-06/1.653e-06, allocations: 0 / 408.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.483e-05, allocations: 10.22 kB / 408.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001039/0.001064, allocations: 486.5 kB / 408.5 MB, free: 1.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.0039, allocations: 2.22 MB / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.003935, allocations: 0 / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.003957, allocations: 0 / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.428e-06/0.003966, allocations: 0 / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.006446, allocations: 1.156 MB / 411.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.006524, allocations: 4 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.006581, allocations: 4 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.006622, allocations: 0 / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.006657, allocations: 0 / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.006668, allocations: 4 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.008079, allocations: 0.9324 MB / 412.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.008091, allocations: 0 / 412.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.008118, allocations: 8 kB / 412.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.008767, allocations: 0.5067 MB / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00877, allocations: 0 / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008771, allocations: 0 / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.008778, allocations: 4 kB / 413.4 MB, free: 12.43 MB / 394.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.0004575/0.009235, allocations: 355.3 kB / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.009285, allocations: 15.97 kB / 413.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.009328, allocations: 0.9375 kB / 413.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.009399, allocations: 101.8 kB / 413.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.009411, allocations: 384 / 413.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.009421, allocations: 4.375 kB / 413.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.009518, allocations: 51.97 kB / 413.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.009527, allocations: 192 / 413.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.009538, allocations: 384 / 413.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.009544, allocations: 11.94 kB / 413.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.009573, allocations: 33.62 kB / 413.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.009689, allocations: 101.3 kB / 414 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.393e-05/0.009743, allocations: 44.28 kB / 414.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.009771, allocations: 30.56 kB / 414.1 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.009783, allocations: 4.062 kB / 414.1 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.009825, allocations: 56.27 kB / 414.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.009825, allocations: 0 / 414.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002663/0.01009, allocations: 122.7 kB / 414.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.01014, allocations: 81.17 kB / 414.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.955e-05/0.01018, allocations: 97.86 kB / 414.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.01019, allocations: 25.7 kB / 414.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/0.01021, allocations: 80.14 kB / 414.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.01023, allocations: 0 / 414.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.01026, allocations: 17.7 kB / 414.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.01035, allocations: 314.8 kB / 414.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.01036, allocations: 25.7 kB / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.01038, allocations: 25.7 kB / 414.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.01042, allocations: 60.27 kB / 415 MB, free: 10.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01042, allocations: 4.062 kB / 415 MB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.315e-05/0.01047, allocations: 97.03 kB / 415.1 MB, free: 10.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.0105, allocations: 33.7 kB / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01051, allocations: 0 / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01052, allocations: 0 / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.01052, allocations: 0 / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01053, allocations: 3.938 kB / 415.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.01054, allocations: 0 / 415.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.01055, allocations: 7.938 kB / 415.1 MB, free: 10.39 MB / 394.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 6.618e-05/0.01061, allocations: 135.5 kB / 415.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-06/0.01062, allocations: 4.031 kB / 415.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.149e-05/0.01063, allocations: 10.98 kB / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01063, allocations: 0 / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01063, allocations: 0 / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01064, allocations: 3.938 kB / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.382e-05/0.01069, allocations: 97.27 kB / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.01069, allocations: 4 kB / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.0107, allocations: 0 / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.0107, allocations: 4 kB / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.0107, allocations: 4 kB / 415.4 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.01071, allocations: 3.984 kB / 415.4 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01071, allocations: 4 kB / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.985e-05/0.01079, allocations: 116.4 kB / 415.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.0108, allocations: 7.984 kB / 415.5 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.01081, allocations: 4 kB / 415.5 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-06/0.01081, allocations: 0 / 415.5 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.01083, allocations: 0 / 415.5 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.01083, allocations: 0 / 415.5 MB, free: 9.918 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.01085, allocations: 79.22 kB / 415.6 MB, free: 9.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01085, allocations: 0 / 415.6 MB, free: 9.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00033/0.01118, allocations: 147.5 kB / 415.8 MB, free: 9.695 MB / 394.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.0005493/0.01173, allocations: 398.4 kB / 416.1 MB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.01186, allocations: 118.7 kB / 416.3 MB, free: 9.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01186, allocations: 4.062 kB / 416.3 MB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.0119, allocations: 81.11 kB / 416.3 MB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.012, allocations: 0 / 416.3 MB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.01219, allocations: 136.3 kB / 416.5 MB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.01222, allocations: 55.36 kB / 416.5 MB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.01224, allocations: 8.5 kB / 416.5 MB, free: 8.805 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01224, allocations: 0 / 416.5 MB, free: 8.805 MB / 394.7 MB Notification: Performance of Templates: time 0.005065/0.01731, allocations: 3.667 MB / 420.2 MB, free: 5.133 MB / 394.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: 4.649565290659666]