Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.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.001215/0.001215, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.00127/0.00127, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.91 kB / 0.4916 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 66 MB / 0.556 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001589/0.1336, allocations: 486.8 kB / 0.5565 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00333/0.1369, allocations: 2.306 MB / 0.5588 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-06/0.1369, allocations: 4 kB / 0.5588 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-06/0.1369, allocations: 0 / 0.5588 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.1369, allocations: 0 / 0.5588 GB, free: 3.047 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:8:5-88:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:90:5-160:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:162:5-239:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:241:5-319:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.1391, allocations: 0.6228 MB / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.1391, allocations: 7.984 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.935e-05/0.1392, allocations: 4 kB / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1393, allocations: 19.92 kB / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.1394, allocations: 8 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-06/0.1394, allocations: 0 / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1404, allocations: 0.671 MB / 0.5601 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-06/0.1404, allocations: 0 / 0.5601 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1404, allocations: 11.98 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.141, allocations: 439 kB / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.141, allocations: 0 / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.141, allocations: 0 / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.141, allocations: 3.938 kB / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004626/0.1415, allocations: 436.4 kB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1416, allocations: 12.03 kB / 0.5609 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.394e-05/0.1416, allocations: 75.47 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.1417, allocations: 110 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.1417, allocations: 80.16 kB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1419, allocations: 235.7 kB / 0.5614 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.1419, allocations: 162.7 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.142, allocations: 154.6 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.1421, allocations: 109 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.1421, allocations: 75.28 kB / 0.5619 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.1422, allocations: 154.6 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.1423, allocations: 154.6 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.1423, allocations: 158.5 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.1426, allocations: 449.9 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.1427, allocations: 169.1 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.1428, allocations: 80.14 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1428, allocations: 79.28 kB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.341e-05/0.1429, allocations: 131.5 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1429, allocations: 0 / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.454e-05/0.143, allocations: 33.64 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.1431, allocations: 156.4 kB / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.1431, allocations: 93.84 kB / 0.5635 GB, free: 14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1431, allocations: 29.7 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.1432, allocations: 84.14 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.1432, allocations: 0 / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1432, allocations: 13.72 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1433, allocations: 310.8 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-06/0.1433, allocations: 0 / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.1434, allocations: 0 / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.1434, allocations: 79.28 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.1434, allocations: 79.31 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.552e-05/0.1435, allocations: 33.58 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.1435, allocations: 88.98 kB / 0.5642 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.856e-05/0.1436, allocations: 75.28 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.33e-05/0.1436, allocations: 158.5 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.05e-05/0.1437, allocations: 75.28 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.505e-05/0.1437, allocations: 154.6 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.1438, allocations: 83.22 kB / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.1438, allocations: 75.28 kB / 0.5647 GB, free: 12.65 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.144, allocations: 270.5 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.1441, allocations: 108.9 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.1441, allocations: 111.8 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-05/0.1442, allocations: 188.3 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.46e-05/0.1443, allocations: 180.2 kB / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-05/0.1443, allocations: 176.3 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.1446, allocations: 413.1 kB / 0.5661 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/0.1446, allocations: 101 kB / 0.5662 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.1447, allocations: 101 kB / 0.5663 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8e-05/0.1448, allocations: 188.2 kB / 0.5665 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/0.1448, allocations: 184.2 kB / 0.5667 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.109e-05/0.1449, allocations: 180.2 kB / 0.5668 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-05/0.145, allocations: 176.3 kB / 0.567 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1451, allocations: 315.7 kB / 0.5673 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.1452, allocations: 178.1 kB / 0.5675 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.1453, allocations: 184.2 kB / 0.5677 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.1454, allocations: 109 kB / 0.5678 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.1455, allocations: 180.3 kB / 0.5679 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.1455, allocations: 108.9 kB / 0.568 GB, free: 9.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.838e-05/0.1456, allocations: 79.28 kB / 0.5681 GB, free: 8.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1456, allocations: 0 / 0.5681 GB, free: 8.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005348/0.1461, allocations: 135.6 kB / 0.5682 GB, free: 8.84 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001202/0.1473, allocations: 1.041 MB / 0.5693 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.484e-05/0.1474, allocations: 3.938 kB / 0.5693 GB, free: 7.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1474, allocations: 0 / 0.5693 GB, free: 7.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.1474, allocations: 4 kB / 0.5693 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1478, allocations: 462 kB / 0.5697 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.1482, allocations: 253.6 kB / 0.57 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1486, allocations: 0.6729 MB / 0.5706 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.165e-06/0.1486, allocations: 3.938 kB / 0.5706 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.1486, allocations: 11.44 kB / 0.5706 GB, free: 6.309 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1486, allocations: 0 / 0.5706 GB, free: 6.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.1699, allocations: 4.214 MB / 0.5747 GB, free: 2.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.211, allocations: 10.08 kB / 0.5748 GB, free: 2.172 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.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: 11.113230629998725]