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.001816/0.001816, allocations: 70.98 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001595/0.001595, allocations: 170 kB / 23.22 MB, free: 4.887 MB / 14.72 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.589/1.589, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.243/0.243, allocations: 32.37 MB / 269.6 MB, free: 4.66 MB / 254.1 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 3.346e-06/3.346e-06, allocations: 0 / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.938e-05/5.273e-05, allocations: 2.281 kB / 407.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.002419/0.002472, allocations: 494.5 kB / 407.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.007996, allocations: 2.212 MB / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.008044, allocations: 0 / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.008068, allocations: 0 / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 1.123e-05/0.008079, allocations: 0 / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.01186, allocations: 1.151 MB / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.01195, allocations: 8 kB / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.01201, allocations: 3.984 kB / 411.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.01207, allocations: 0 / 411.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.01211, allocations: 0 / 411.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.01212, allocations: 7.875 kB / 411.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.01403, allocations: 0.9363 MB / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.01404, allocations: 0 / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.01407, allocations: 7.984 kB / 412.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008423/0.01491, allocations: 0.4989 MB / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01492, allocations: 4 kB / 412.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01492, allocations: 0 / 412.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.01493, allocations: 0 / 412.6 MB, free: 13.71 MB / 350.1 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.0006029/0.01553, allocations: 355.3 kB / 413 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.01559, allocations: 12.03 kB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.01563, allocations: 0.9375 kB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.01574, allocations: 101.8 kB / 413.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.01575, allocations: 384 / 413.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.01577, allocations: 4.359 kB / 413.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.01593, allocations: 59.91 kB / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01594, allocations: 4.188 kB / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.01595, allocations: 384 / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01596, allocations: 3.938 kB / 413.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.802e-05/0.01601, allocations: 33.7 kB / 413.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.01617, allocations: 93.33 kB / 413.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.056e-05/0.01625, allocations: 48.3 kB / 413.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.01629, allocations: 30.56 kB / 413.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.0163, allocations: 4.047 kB / 413.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.01637, allocations: 64.2 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.01637, allocations: 0 / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002708/0.01664, allocations: 122.8 kB / 413.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.01672, allocations: 81.05 kB / 413.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.01679, allocations: 89.86 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.01681, allocations: 29.7 kB / 413.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.01687, allocations: 84.12 kB / 413.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.0169, allocations: 3.953 kB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.01694, allocations: 13.72 kB / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.01711, allocations: 314.8 kB / 414.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.01713, allocations: 25.7 kB / 414.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.01715, allocations: 29.69 kB / 414.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.01723, allocations: 72.39 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.01724, allocations: 4 kB / 414.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.393e-05/0.01733, allocations: 85.11 kB / 414.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.01739, allocations: 37.69 kB / 414.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01739, allocations: 0 / 414.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.01742, allocations: 3.938 kB / 414.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.01742, allocations: 0 / 414.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.01743, allocations: 7.875 kB / 414.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.01746, allocations: 0 / 414.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01747, allocations: 0 / 414.4 MB, free: 11.66 MB / 350.1 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 0.0001389/0.01761, allocations: 139.6 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.01762, allocations: 0 / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.01764, allocations: 7 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01764, allocations: 4 kB / 414.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01765, allocations: 0 / 414.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.01766, allocations: 7.922 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.01777, allocations: 93.33 kB / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01777, allocations: 0 / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-06/0.01778, allocations: 3.938 kB / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01778, allocations: 0 / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01779, allocations: 8 kB / 414.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01779, allocations: 0 / 414.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01779, allocations: 0 / 414.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01795, allocations: 120.5 kB / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.01795, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01796, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-06/0.01797, allocations: 4 kB / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.01799, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.018, allocations: 3.984 kB / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.01805, allocations: 79.22 kB / 414.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01805, allocations: 0 / 414.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.01856, allocations: 147.6 kB / 415 MB, free: 10.97 MB / 350.1 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.0009716/0.01954, allocations: 389.6 kB / 415.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01971, allocations: 118.8 kB / 415.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01971, allocations: 0 / 415.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.01979, allocations: 85.09 kB / 415.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.01993, allocations: 6.344 kB / 415.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.02021, allocations: 106.6 kB / 415.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.02028, allocations: 59.34 kB / 415.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.535e-06/0.02029, allocations: 0 / 415.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.0203, allocations: 8.5 kB / 415.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.02031, allocations: 0 / 415.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Templates: time 0.009996/0.0303, allocations: 4.366 MB / 420.1 MB, free: 5.754 MB / 350.1 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.571641009300947]