Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001003/0.001003, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009411/0.0009411, allocations: 159.6 kB / 24.99 MB, free: 8.801 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.9504/0.9504, allocations: 177 MB / 205.2 MB, free: 5.594 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.2412/0.2412, allocations: 34.86 MB / 296.6 MB, free: 464 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.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.876e-05, allocations: 3.719 kB / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009437/0.0009625, allocations: 0.5438 MB / 379.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004855/0.001448, allocations: 342.7 kB / 379.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.001476, allocations: 0 / 379.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.001493, allocations: 3.938 kB / 379.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.001524, allocations: 7.875 kB / 379.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.001849, allocations: 115.6 kB / 379.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.001904, allocations: 19.92 kB / 379.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.00194, allocations: 4 kB / 379.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.001973, allocations: 23.91 kB / 379.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.002021, allocations: 7.984 kB / 379.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.002036, allocations: 4 kB / 379.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.002192, allocations: 111.9 kB / 379.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.002206, allocations: 7.938 kB / 379.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.002224, allocations: 15.98 kB / 379.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.002373, allocations: 115.6 kB / 380 MB, free: 1.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.002376, allocations: 7.938 kB / 380 MB, free: 1.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002377, allocations: 0 / 380 MB, free: 1.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.00238, allocations: 0 / 380 MB, free: 1.094 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003294/0.00271, allocations: 388.3 kB / 380.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.002742, allocations: 8.031 kB / 380.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.002781, allocations: 12.89 kB / 380.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.002861, allocations: 112.6 kB / 380.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.002871, allocations: 384 / 380.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.002891, allocations: 12.38 kB / 380.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.002978, allocations: 58.11 kB / 380.6 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.002988, allocations: 4.141 kB / 380.6 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.002997, allocations: 384 / 380.6 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.003004, allocations: 4.359 kB / 380.6 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.003046, allocations: 27.92 kB / 380.7 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.003164, allocations: 120.6 kB / 380.8 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.003317, allocations: 59.08 kB / 380.8 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.003355, allocations: 23.67 kB / 380.9 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.003504, allocations: 39.94 kB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.003524, allocations: 41.39 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 8.01e-07/0.003524, allocations: 4 kB / 380.9 MB, free: 68 kB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.01795/0.02148, allocations: 2.403 MB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.02151, allocations: 55.41 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.02157, allocations: 161.9 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.0216, allocations: 29.7 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.02163, allocations: 126.9 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.02168, allocations: 63.44 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.02176, allocations: 67.34 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.02186, allocations: 0.4884 MB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.02201, allocations: 147.9 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.02216, allocations: 147.9 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/0.02279, allocations: 354.7 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.02279, allocations: 4 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004871/0.02328, allocations: 417.4 kB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.02329, allocations: 4 kB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.02329, allocations: 4 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.02331, allocations: 0 / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.02349, allocations: 71.94 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.0235, allocations: 0 / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.02359, allocations: 15.98 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.02361, allocations: 23.98 kB / 385.5 MB, free: 11.4 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 (19): * Single equations (assignments): 19 * 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 8.31e-05/0.02369, allocations: 164.5 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.02374, allocations: 19.89 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005978/0.02433, allocations: 493.5 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.02434, allocations: 4 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.02434, allocations: 4 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02434, allocations: 0 / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.02534, allocations: 0.8028 MB / 387 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02535, allocations: 4 kB / 387 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.02548, allocations: 67.94 kB / 387 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.02549, allocations: 0 / 387 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.0255, allocations: 20.17 kB / 387 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.02551, allocations: 11.94 kB / 387.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02551, allocations: 3.938 kB / 387.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.02592, allocations: 465.8 kB / 387.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.02592, allocations: 7.953 kB / 387.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.02595, allocations: 8 kB / 387.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.02605, allocations: 23.97 kB / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.02607, allocations: 11.92 kB / 387.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.02609, allocations: 23.98 kB / 387.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.02612, allocations: 127.2 kB / 387.7 MB, free: 9.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02612, allocations: 0 / 387.7 MB, free: 9.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.02666, allocations: 315.6 kB / 388 MB, free: 8.742 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.0008992/0.02756, allocations: 258.7 kB / 388.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.02791, allocations: 291.5 kB / 388.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02791, allocations: 0 / 388.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.02804, allocations: 131.5 kB / 388.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.02824, allocations: 24.83 kB / 388.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.02887, allocations: 420.4 kB / 389.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.0289, allocations: 63.58 kB / 389.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.02908, allocations: 92.98 kB / 389.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.02921, allocations: 52.45 kB / 389.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02921, allocations: 4 kB / 389.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of Templates: time 0.01638/0.04559, allocations: 18.72 MB / 408.1 MB, free: 4.617 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.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.102354897884652]