Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 81.91 kB / 21.43 MB, free: 3.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004875/0.004875, allocations: 160.6 kB / 24.82 MB, free: 9.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.954/0.954, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2752/0.2752, allocations: 34.87 MB / 296.6 MB, free: 436 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.218e-05, allocations: 3.297 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001141/0.001173, allocations: 0.4993 MB / 379.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.003688, allocations: 2.222 MB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-06/0.003692, allocations: 4 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.003704, allocations: 4 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.473e-06/0.003705, allocations: 0 / 381.9 MB, free: 15.08 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.001505/0.00521, allocations: 0.6075 MB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.005251, allocations: 7.984 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.437e-05/0.005276, allocations: 7.938 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.005397, allocations: 23.86 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.00544, allocations: 11.98 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-06/0.005445, allocations: 0 / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007583/0.006203, allocations: 0.6279 MB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.00621, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.006225, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.006795, allocations: 0.5495 MB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.006798, allocations: 4 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0068, allocations: 0 / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.006806, allocations: 4 kB / 383.8 MB, free: 13.23 MB / 362.7 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.0003536/0.00716, allocations: 457.2 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.007202, allocations: 8.031 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.007266, allocations: 124.1 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.007354, allocations: 223.8 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.00742, allocations: 238.8 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.00748, allocations: 238.8 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.595e-05/0.007556, allocations: 149.5 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.007597, allocations: 127.1 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.007664, allocations: 238.4 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-05/0.00774, allocations: 242.3 kB / 385.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.007806, allocations: 246.4 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.008048, allocations: 0.553 MB / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.008148, allocations: 265.4 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.008183, allocations: 126.9 kB / 387 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.008216, allocations: 119.2 kB / 387.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/0.008287, allocations: 186.2 kB / 387.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.008289, allocations: 3.984 kB / 387.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.619e-05/0.008345, allocations: 25.7 kB / 387.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.008409, allocations: 204.2 kB / 387.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.603e-05/0.008445, allocations: 142.2 kB / 387.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.008454, allocations: 33.7 kB / 387.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.008486, allocations: 130.9 kB / 387.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-07/0.008487, allocations: 0 / 387.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.008508, allocations: 19.38 kB / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.00862, allocations: 492.1 kB / 388.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-06/0.008623, allocations: 0 / 388.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.008653, allocations: 29.7 kB / 388.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.008683, allocations: 123.1 kB / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/0.008714, allocations: 123.1 kB / 388.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.232e-05/0.008757, allocations: 37.73 kB / 388.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.008792, allocations: 123.2 kB / 388.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.008823, allocations: 127.2 kB / 388.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/0.008883, allocations: 242.3 kB / 389.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.536e-05/0.008908, allocations: 119.2 kB / 389.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.414e-05/0.008962, allocations: 246.2 kB / 389.4 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.009014, allocations: 123.2 kB / 389.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.009039, allocations: 123.2 kB / 389.7 MB, free: 7.109 MB / 362.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: 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.0001109/0.00915, allocations: 402.9 kB / 390.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.009195, allocations: 148.8 kB / 390.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.009238, allocations: 151.9 kB / 390.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/0.009295, allocations: 268 kB / 390.6 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.036e-05/0.009356, allocations: 272 kB / 390.9 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/0.009419, allocations: 268.1 kB / 391.1 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.009581, allocations: 484.5 kB / 391.6 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/0.009617, allocations: 153.2 kB / 391.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.00965, allocations: 152.8 kB / 391.9 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-05/0.009714, allocations: 264.1 kB / 392.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.009777, allocations: 276 kB / 392.4 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-05/0.009838, allocations: 264.1 kB / 392.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.009896, allocations: 264.1 kB / 393 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.01003, allocations: 451.9 kB / 393.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.01007, allocations: 156.8 kB / 393.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.01013, allocations: 272.1 kB / 393.8 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.01019, allocations: 144.9 kB / 394 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.01025, allocations: 272 kB / 394.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.01029, allocations: 144.9 kB / 394.4 MB, free: 2.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.519e-05/0.01032, allocations: 119.2 kB / 394.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 394.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.01068, allocations: 147.5 kB / 394.6 MB, free: 1.957 MB / 362.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: 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.0006416/0.01132, allocations: 491.3 kB / 395.1 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.801e-05/0.01137, allocations: 7.938 kB / 395.1 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01137, allocations: 0 / 395.1 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.01137, allocations: 0 / 395.1 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.01166, allocations: 0.7062 MB / 395.8 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001618/0.01182, allocations: 198.1 kB / 396 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.01186, allocations: 59.34 kB / 396.1 MB, free: 464 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.546e-06/0.01186, allocations: 0 / 396.1 MB, free: 464 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.01192, allocations: 78.2 kB / 396.1 MB, free: 384 kB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01192, allocations: 0 / 396.1 MB, free: 384 kB / 362.7 MB Notification: Performance of Templates: time 0.005666/0.01759, allocations: 3.796 MB / 399.9 MB, free: 12.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1251618219539523]