Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001732/0.001732, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.002171/0.002171, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 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 1.492/1.492, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2305/0.2305, allocations: 46.89 MB / 361.1 MB, free: 4.723 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 83.86 kB / 0.4968 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3028, allocations: 65.97 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001686/0.3045, allocations: 0.5528 MB / 0.5617 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.3053, allocations: 366.7 kB / 0.5621 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.3053, allocations: 4 kB / 0.5621 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.3053, allocations: 3.938 kB / 0.5621 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.3054, allocations: 3.938 kB / 0.5621 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.3058, allocations: 99.66 kB / 0.5622 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.3058, allocations: 31.91 kB / 0.5622 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.3059, allocations: 11.78 kB / 0.5622 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.3059, allocations: 8 kB / 0.5622 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.306, allocations: 23.86 kB / 0.5622 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.306, allocations: 0 / 0.5622 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.3062, allocations: 123.9 kB / 0.5624 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.3062, allocations: 0 / 0.5624 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.3063, allocations: 19.86 kB / 0.5624 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3064, allocations: 98.55 kB / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3064, allocations: 0 / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3064, allocations: 0 / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3064, allocations: 4 kB / 0.5625 GB, free: 3.699 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005144/0.307, allocations: 363.1 kB / 0.5628 GB, free: 3.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.307, allocations: 8.031 kB / 0.5628 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.307, allocations: 8.922 kB / 0.5628 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3072, allocations: 168.3 kB / 0.563 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3072, allocations: 8.375 kB / 0.563 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3072, allocations: 384 / 0.563 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3074, allocations: 62.17 kB / 0.5631 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3074, allocations: 4.188 kB / 0.5631 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3074, allocations: 3.938 kB / 0.5631 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3074, allocations: 0 / 0.5631 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.3075, allocations: 31.92 kB / 0.5631 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.3077, allocations: 173.6 kB / 0.5633 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.3079, allocations: 50.55 kB / 0.5633 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.308, allocations: 28.78 kB / 0.5634 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.3083, allocations: 109.1 kB / 0.5635 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3083, allocations: 34.78 kB / 0.5635 GB, free: 2.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.986e-06/0.3083, allocations: 3.984 kB / 0.5635 GB, free: 2.48 MB / 398.1 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.0432/0.3515, allocations: 2.572 MB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3515, allocations: 51.41 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.3516, allocations: 101.9 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3517, allocations: 29.7 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.3517, allocations: 87.89 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.3518, allocations: 67.42 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.352, allocations: 57.69 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3521, allocations: 326.8 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.3525, allocations: 167.9 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.3529, allocations: 179.9 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.354, allocations: 418.9 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.354, allocations: 0 / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001115/0.3551, allocations: 462.5 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3551, allocations: 11.94 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3552, allocations: 0 / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3552, allocations: 0 / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.3556, allocations: 71.94 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3556, allocations: 0 / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3558, allocations: 19.98 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.3558, allocations: 15.98 kB / 0.568 GB, free: 13.79 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: 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 0.0001482/0.356, allocations: 125.7 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.356, allocations: 7.953 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.3574, allocations: 0.541 MB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3574, allocations: 4 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3574, allocations: 0 / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3574, allocations: 0 / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3596, allocations: 0.8815 MB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3596, allocations: 4 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.36, allocations: 63.94 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.36, allocations: 4 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.36, allocations: 19.98 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.36, allocations: 192 / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.36, allocations: 11.94 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.361, allocations: 471.8 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.3611, allocations: 85.06 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3611, allocations: 8 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3613, allocations: 19.97 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.3614, allocations: 23.92 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.3614, allocations: 19.92 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.912e-05/0.3615, allocations: 79.28 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3615, allocations: 0 / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000871/0.3623, allocations: 319.6 kB / 0.5706 GB, free: 10.98 MB / 414.1 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.001316/0.3636, allocations: 238.6 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008525/0.3645, allocations: 327.7 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3645, allocations: 0 / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.3649, allocations: 144.2 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.3651, allocations: 22.03 kB / 0.5713 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3665, allocations: 421.6 kB / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3668, allocations: 0.6926 MB / 0.5724 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.3671, allocations: 100.9 kB / 0.5725 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.3673, allocations: 47.41 kB / 0.5725 GB, free: 8.938 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3673, allocations: 0 / 0.5725 GB, free: 8.938 MB / 414.1 MB Notification: Performance of Templates: time 0.06335/0.4306, allocations: 17.93 MB / 0.59 GB, free: 7.016 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.229409642983228]