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.0017/0.0017, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.002281/0.002281, allocations: 163.2 kB / 23.76 MB, free: 4.203 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.566/1.566, allocations: 158.6 MB / 185.5 MB, free: 6.137 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.2324/0.2324, allocations: 32.37 MB / 270.1 MB, free: 2.711 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: 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.002345/0.002345, allocations: 75.89 kB / 407.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1506, allocations: 61.03 MB / 468.8 MB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001901/0.1525, allocations: 490.9 kB / 469.2 MB, free: 7.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.1563, allocations: 2.216 MB / 471.5 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.1564, allocations: 0 / 471.5 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1564, allocations: 0 / 471.5 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.1564, allocations: 3.938 kB / 471.5 MB, free: 5.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.1595, allocations: 1.156 MB / 472.6 MB, free: 4.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.1595, allocations: 7.922 kB / 472.6 MB, free: 4.453 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.1595, allocations: 0 / 472.6 MB, free: 4.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.1596, allocations: 0 / 472.6 MB, free: 4.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.9e-05/0.1596, allocations: 7.984 kB / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.1596, allocations: 0 / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.1611, allocations: 0.9248 MB / 473.6 MB, free: 3.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.1611, allocations: 4 kB / 473.6 MB, free: 3.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.1612, allocations: 3.938 kB / 473.6 MB, free: 3.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.1618, allocations: 415.2 kB / 474 MB, free: 3.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1618, allocations: 0 / 474 MB, free: 3.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1618, allocations: 0 / 474 MB, free: 3.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1618, allocations: 0 / 474 MB, free: 3.105 MB / 446.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.0005046/0.1623, allocations: 355.3 kB / 474.3 MB, free: 2.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1624, allocations: 12.03 kB / 474.3 MB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.1624, allocations: 0.9375 kB / 474.3 MB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1625, allocations: 102.5 kB / 474.4 MB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1625, allocations: 8.359 kB / 474.4 MB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.1625, allocations: 4.375 kB / 474.4 MB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1627, allocations: 55.72 kB / 474.5 MB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1627, allocations: 4 kB / 474.5 MB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1627, allocations: 4 kB / 474.5 MB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1627, allocations: 0 / 474.5 MB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.1627, allocations: 29.64 kB / 474.5 MB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.1629, allocations: 101.3 kB / 474.6 MB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.1629, allocations: 44.27 kB / 474.7 MB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.163, allocations: 34.66 kB / 474.7 MB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.163, allocations: 0 / 474.7 MB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.764e-05/0.1631, allocations: 56.27 kB / 474.8 MB, free: 2.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1631, allocations: 0 / 474.8 MB, free: 2.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002443/0.1633, allocations: 130.7 kB / 474.9 MB, free: 2.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.1634, allocations: 77.11 kB / 475 MB, free: 1.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.1634, allocations: 93.86 kB / 475.1 MB, free: 1.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1635, allocations: 25.7 kB / 475.1 MB, free: 1.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.1635, allocations: 80.14 kB / 475.2 MB, free: 1.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1635, allocations: 0 / 475.2 MB, free: 1.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1636, allocations: 17.72 kB / 475.2 MB, free: 1.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1637, allocations: 310.8 kB / 475.5 MB, free: 1.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.1637, allocations: 25.7 kB / 475.5 MB, free: 1.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.1638, allocations: 33.81 kB / 475.5 MB, free: 1.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.747e-05/0.1638, allocations: 60.33 kB / 475.6 MB, free: 1.223 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.1638, allocations: 4 kB / 475.6 MB, free: 1.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.535e-05/0.1639, allocations: 89.05 kB / 475.7 MB, free: 1.113 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.164, allocations: 41.62 kB / 475.7 MB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.164, allocations: 0 / 475.7 MB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.164, allocations: 3.938 kB / 475.7 MB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.164, allocations: 0 / 475.7 MB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.164, allocations: 3.938 kB / 475.7 MB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.164, allocations: 0 / 475.7 MB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.164, allocations: 8.031 kB / 475.7 MB, free: 1.051 MB / 446.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.00011/0.1641, allocations: 135.5 kB / 475.9 MB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.1641, allocations: 0 / 475.9 MB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.1641, allocations: 14.94 kB / 475.9 MB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1641, allocations: 0 / 475.9 MB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1642, allocations: 3.984 kB / 475.9 MB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1642, allocations: 0 / 475.9 MB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.296e-05/0.1642, allocations: 93.33 kB / 476 MB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1642, allocations: 0 / 476 MB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.1642, allocations: 4 kB / 476 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1642, allocations: 0 / 476 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1643, allocations: 4 kB / 476 MB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1643, allocations: 3.938 kB / 476 MB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1643, allocations: 0 / 476 MB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.1644, allocations: 120.5 kB / 476.1 MB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.1644, allocations: 7.938 kB / 476.1 MB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1644, allocations: 8 kB / 476.1 MB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.1644, allocations: 3.938 kB / 476.1 MB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.1645, allocations: 0 / 476.1 MB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.1645, allocations: 3.984 kB / 476.1 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.929e-05/0.1645, allocations: 75.28 kB / 476.2 MB, free: 0.5039 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1645, allocations: 4.031 kB / 476.2 MB, free: 0.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.1649, allocations: 147.5 kB / 476.4 MB, free: 364 kB / 446.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.2825/0.4474, allocations: 361.9 kB / 476.7 MB, free: 50.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.4476, allocations: 113 kB / 476.8 MB, free: 49.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4476, allocations: 0.9375 kB / 476.8 MB, free: 49.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.4477, allocations: 85.12 kB / 476.9 MB, free: 49.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.4479, allocations: 5.406 kB / 476.9 MB, free: 49.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.4481, allocations: 113.9 kB / 477 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.4481, allocations: 57.97 kB / 477.1 MB, free: 49.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.25e-06/0.4481, allocations: 0 / 477.1 MB, free: 49.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.4482, allocations: 9.562 kB / 477.1 MB, free: 49.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4482, allocations: 0 / 477.1 MB, free: 49.68 MB / 446.1 MB Notification: Performance of Templates: time 0.00743/0.4556, allocations: 4.292 MB / 481.4 MB, free: 49.34 MB / 446.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 -s ida -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: 5.712511649006046]