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.001687/0.001687, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002128/0.002128, allocations: 204.1 kB / 23.74 MB, free: 4.543 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.473/1.473, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.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.2304/0.2304, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 67.91 kB / 468.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.148, allocations: 61.05 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.00183/0.1499, allocations: 486.7 kB / 0.5178 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1538, allocations: 2.212 MB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.1538, allocations: 4 kB / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1538, allocations: 0 / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1538, allocations: 0 / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.157, allocations: 1.145 MB / 0.5211 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.1571, allocations: 7.922 kB / 0.5211 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.1571, allocations: 0 / 0.5211 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.1571, allocations: 7.984 kB / 0.5211 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.674e-05/0.1572, allocations: 7.938 kB / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-06/0.1572, allocations: 0 / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.1588, allocations: 0.9326 MB / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.1588, allocations: 0 / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.1588, allocations: 0 / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.1595, allocations: 411.2 kB / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1595, allocations: 0 / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1595, allocations: 0 / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1595, allocations: 0 / 0.5224 GB, free: 1.469 MB / 398.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.0005284/0.16, allocations: 363.3 kB / 0.5228 GB, free: 1.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.1601, allocations: 12.03 kB / 0.5228 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1601, allocations: 0.9375 kB / 0.5228 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1602, allocations: 102.5 kB / 0.5229 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1602, allocations: 384 / 0.5229 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1603, allocations: 12.3 kB / 0.5229 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1604, allocations: 55.72 kB / 0.5229 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1604, allocations: 0 / 0.5229 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1604, allocations: 4 kB / 0.5229 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1604, allocations: 0 / 0.5229 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.1605, allocations: 29.7 kB / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.1606, allocations: 101.3 kB / 0.5231 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.333e-05/0.1607, allocations: 48.2 kB / 0.5231 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.1607, allocations: 34.66 kB / 0.5232 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1607, allocations: 3.984 kB / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.838e-05/0.1608, allocations: 60.27 kB / 0.5232 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1608, allocations: 0 / 0.5232 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002633/0.1611, allocations: 118.7 kB / 0.5233 GB, free: 380 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.1611, allocations: 85.05 kB / 0.5234 GB, free: 276 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.1612, allocations: 89.86 kB / 0.5235 GB, free: 176 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1612, allocations: 29.83 kB / 0.5235 GB, free: 140 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.1612, allocations: 80.14 kB / 0.5236 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1613, allocations: 4 kB / 0.5236 GB, free: 52 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1613, allocations: 13.72 kB / 0.5236 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1615, allocations: 310.8 kB / 0.5239 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.1615, allocations: 25.7 kB / 0.5239 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.1615, allocations: 33.69 kB / 0.524 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.254e-05/0.1616, allocations: 64.27 kB / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1616, allocations: 0 / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.087e-05/0.1617, allocations: 85.17 kB / 0.5241 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.1617, allocations: 41.62 kB / 0.5241 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1617, allocations: 0 / 0.5241 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1617, allocations: 3.938 kB / 0.5242 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.1617, allocations: 3.938 kB / 0.5242 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1618, allocations: 3.984 kB / 0.5242 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.1618, allocations: 0 / 0.5242 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1618, allocations: 4 kB / 0.5242 GB, free: 15.41 MB / 414.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.0001182/0.1619, allocations: 131.5 kB / 0.5243 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.1619, allocations: 4 kB / 0.5243 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.1619, allocations: 14.97 kB / 0.5243 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1619, allocations: 0 / 0.5243 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1619, allocations: 3.938 kB / 0.5243 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1619, allocations: 3.984 kB / 0.5243 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.853e-05/0.162, allocations: 93.33 kB / 0.5244 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.162, allocations: 4 kB / 0.5244 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.162, allocations: 4 kB / 0.5244 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.162, allocations: 0 / 0.5244 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.162, allocations: 0 / 0.5244 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.162, allocations: 3.938 kB / 0.5244 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.162, allocations: 0 / 0.5244 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1622, allocations: 124.5 kB / 0.5245 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.1622, allocations: 0 / 0.5245 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1622, allocations: 4 kB / 0.5245 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.1622, allocations: 3.938 kB / 0.5245 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.1623, allocations: 0 / 0.5245 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1623, allocations: 3.984 kB / 0.5245 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.1623, allocations: 79.28 kB / 0.5246 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1623, allocations: 0 / 0.5246 GB, free: 14.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.1628, allocations: 139.6 kB / 0.5248 GB, free: 14.73 MB / 414.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.0008064/0.1636, allocations: 363.3 kB / 0.5251 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.1637, allocations: 118.8 kB / 0.5252 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1637, allocations: 64 / 0.5252 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.1638, allocations: 85.11 kB / 0.5253 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1639, allocations: 3.938 kB / 0.5253 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.1642, allocations: 148.1 kB / 0.5254 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.1642, allocations: 55.36 kB / 0.5255 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.1643, allocations: 7.438 kB / 0.5255 GB, free: 13.85 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1643, allocations: 0 / 0.5255 GB, free: 13.85 MB / 414.1 MB Notification: Performance of Templates: time 0.007484/0.1717, allocations: 3.639 MB / 0.5291 GB, free: 10.21 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/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: 7.978632865939289]