Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001337/0.001337, allocations: 117.9 kB / 19.18 MB, free: 3.883 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.001471/0.001471, allocations: 208.9 kB / 22.13 MB, free: 0.9336 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.451/1.451, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.24/0.24, allocations: 46.88 MB / 358.1 MB, free: 10.49 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.TestRegRoot2Derivatives,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.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,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.TestRegRoot2Derivatives") [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.002223/0.002223, allocations: 79.88 kB / 0.4924 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1298, allocations: 65.98 MB / 0.5568 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001702/0.1315, allocations: 0.5319 MB / 0.5573 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.1323, allocations: 411.2 kB / 0.5577 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.1323, allocations: 0 / 0.5577 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.1324, allocations: 4 kB / 0.5577 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.678e-05/0.1324, allocations: 7.938 kB / 0.5577 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.1329, allocations: 131.1 kB / 0.5578 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.1329, allocations: 31.84 kB / 0.5579 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.133, allocations: 3.984 kB / 0.5579 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.133, allocations: 15.94 kB / 0.5579 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.1331, allocations: 15.92 kB / 0.5579 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1331, allocations: 4 kB / 0.5579 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.1334, allocations: 167.7 kB / 0.5581 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.1334, allocations: 8 kB / 0.5581 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.1334, allocations: 15.88 kB / 0.5581 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1336, allocations: 123.6 kB / 0.5582 GB, free: 4.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1336, allocations: 0 / 0.5582 GB, free: 4.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1336, allocations: 0 / 0.5582 GB, free: 4.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1337, allocations: 0 / 0.5582 GB, free: 4.289 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005089/0.1342, allocations: 375 kB / 0.5586 GB, free: 3.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1342, allocations: 8.031 kB / 0.5586 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.1342, allocations: 8.938 kB / 0.5586 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1344, allocations: 168.3 kB / 0.5587 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1344, allocations: 384 / 0.5587 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1344, allocations: 16.3 kB / 0.5588 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1346, allocations: 54.12 kB / 0.5588 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1346, allocations: 7.938 kB / 0.5588 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1346, allocations: 4 kB / 0.5588 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1346, allocations: 0 / 0.5588 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.1347, allocations: 27.97 kB / 0.5588 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.1349, allocations: 169.7 kB / 0.559 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1351, allocations: 62.56 kB / 0.5591 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.1352, allocations: 16.86 kB / 0.5591 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/0.1355, allocations: 105.1 kB / 0.5592 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1355, allocations: 38.56 kB / 0.5592 GB, free: 3.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1355, allocations: 4 kB / 0.5592 GB, free: 3.066 MB / 414.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.1382/0.2737, allocations: 6.379 MB / 0.5655 GB, free: 12.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2738, allocations: 59.39 kB / 0.5655 GB, free: 12.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.2739, allocations: 97.86 kB / 0.5656 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.2739, allocations: 25.7 kB / 0.5656 GB, free: 12.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.274, allocations: 84.14 kB / 0.5657 GB, free: 12.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2741, allocations: 71.42 kB / 0.5658 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.2743, allocations: 89.53 kB / 0.5659 GB, free: 12.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2744, allocations: 326.7 kB / 0.5662 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.275, allocations: 227.8 kB / 0.5664 GB, free: 11.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.2755, allocations: 231.8 kB / 0.5666 GB, free: 11.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.2777, allocations: 0.5611 MB / 0.5672 GB, free: 10.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2777, allocations: 0 / 0.5672 GB, free: 10.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00193/0.2796, allocations: 0.6128 MB / 0.5678 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2796, allocations: 4 kB / 0.5678 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2796, allocations: 4 kB / 0.5678 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2796, allocations: 480 / 0.5678 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.2803, allocations: 107.8 kB / 0.5679 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2803, allocations: 3.984 kB / 0.5679 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.2807, allocations: 31.95 kB / 0.5679 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.2808, allocations: 31.94 kB / 0.5679 GB, free: 10.05 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 (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.0001613/0.281, allocations: 121.7 kB / 0.5681 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.281, allocations: 7.953 kB / 0.5681 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.2833, allocations: 0.7356 MB / 0.5688 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2833, allocations: 4 kB / 0.5688 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2833, allocations: 0 / 0.5688 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2833, allocations: 0 / 0.5688 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.2874, allocations: 1.149 MB / 0.5699 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.2874, allocations: 7.984 kB / 0.5699 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.288, allocations: 99.8 kB / 0.57 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.288, allocations: 4 kB / 0.57 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.288, allocations: 23.95 kB / 0.57 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.288, allocations: 4.25 kB / 0.57 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.288, allocations: 4.188 kB / 0.57 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.2898, allocations: 0.586 MB / 0.5706 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.2898, allocations: 89.06 kB / 0.5707 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.2899, allocations: 4 kB / 0.5707 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2903, allocations: 27.95 kB / 0.5707 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.2903, allocations: 23.92 kB / 0.5708 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.2904, allocations: 35.89 kB / 0.5708 GB, free: 6.992 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.379e-05/0.2904, allocations: 79.28 kB / 0.5709 GB, free: 6.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2904, allocations: 0 / 0.5709 GB, free: 6.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001869/0.2923, allocations: 0.6557 MB / 0.5715 GB, free: 6.258 MB / 430.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.00316/0.2954, allocations: 290.6 kB / 0.5718 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.2967, allocations: 446 kB / 0.5722 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2967, allocations: 0 / 0.5722 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.2973, allocations: 196.1 kB / 0.5724 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2976, allocations: 8 kB / 0.5724 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3, allocations: 0.5542 MB / 0.5729 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3003, allocations: 0.6965 MB / 0.5736 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.3007, allocations: 91.28 kB / 0.5737 GB, free: 3.906 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3007, allocations: 0 / 0.5737 GB, free: 3.906 MB / 430.1 MB Notification: Performance of Templates: time 0.02592/0.3266, allocations: 15.96 MB / 0.5893 GB, free: 3.953 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 10.92808183003217]