Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001432/0.001432, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001569/0.001569, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.323/1.323, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 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.2091/0.2091, allocations: 46.93 MB / 361.5 MB, free: 4.164 MB / 286.1 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 79.88 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2656, allocations: 66.08 MB / 0.5619 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001478/0.267, allocations: 0.5406 MB / 0.5625 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007414/0.2678, allocations: 414.7 kB / 0.5629 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.2678, allocations: 4 kB / 0.5629 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.2678, allocations: 7.875 kB / 0.5629 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.065e-05/0.2679, allocations: 0 / 0.5629 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.2683, allocations: 139.4 kB / 0.563 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.718e-05/0.2684, allocations: 19.98 kB / 0.563 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.2684, allocations: 7.984 kB / 0.563 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.2684, allocations: 15.92 kB / 0.5631 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.2685, allocations: 23.92 kB / 0.5631 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2685, allocations: 0 / 0.5631 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.2688, allocations: 163.8 kB / 0.5632 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.2688, allocations: 4 kB / 0.5632 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.2688, allocations: 11.88 kB / 0.5633 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.269, allocations: 126.2 kB / 0.5634 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.269, allocations: 0 / 0.5634 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.269, allocations: 0 / 0.5634 GB, free: 2.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.269, allocations: 0 / 0.5634 GB, free: 2.742 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.0004034/0.2694, allocations: 301.9 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2694, allocations: 16.03 kB / 0.5637 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.2695, allocations: 0.9375 kB / 0.5637 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2696, allocations: 110.5 kB / 0.5638 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2696, allocations: 8.312 kB / 0.5638 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2696, allocations: 4.375 kB / 0.5638 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.2697, allocations: 50.23 kB / 0.5638 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2697, allocations: 11.94 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2697, allocations: 0 / 0.5639 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2697, allocations: 3.938 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.2698, allocations: 27.97 kB / 0.5639 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.27, allocations: 148.7 kB / 0.564 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.2702, allocations: 50.56 kB / 0.5641 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.2702, allocations: 20.84 kB / 0.5641 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.2705, allocations: 39.94 kB / 0.5641 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2705, allocations: 34.56 kB / 0.5642 GB, free: 1.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2705, allocations: 0 / 0.5642 GB, free: 1.809 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.1259/0.3964, allocations: 6.385 MB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3965, allocations: 59.34 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.3966, allocations: 109.8 kB / 0.5706 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.3966, allocations: 25.7 kB / 0.5706 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.3966, allocations: 88.14 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.3967, allocations: 67.44 kB / 0.5707 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3969, allocations: 85.59 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.397, allocations: 322.8 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.3976, allocations: 227.8 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.3981, allocations: 235.8 kB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.4001, allocations: 0.5513 MB / 0.5721 GB, free: 9.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4001, allocations: 0 / 0.5721 GB, free: 9.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001769/0.4019, allocations: 0.613 MB / 0.5727 GB, free: 8.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4019, allocations: 8 kB / 0.5727 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4019, allocations: 0 / 0.5727 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4019, allocations: 256 / 0.5727 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.4026, allocations: 107.8 kB / 0.5728 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4026, allocations: 8 kB / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.403, allocations: 27.97 kB / 0.5728 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.403, allocations: 32.41 kB / 0.5729 GB, free: 8.793 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.0001525/0.4032, allocations: 127 kB / 0.573 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.4033, allocations: 7.953 kB / 0.573 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.4053, allocations: 0.7279 MB / 0.5737 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4053, allocations: 3.984 kB / 0.5737 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4053, allocations: 3.938 kB / 0.5737 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4053, allocations: 0 / 0.5737 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.4092, allocations: 1.128 MB / 0.5748 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4092, allocations: 4 kB / 0.5748 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.4098, allocations: 95.8 kB / 0.5749 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4098, allocations: 4 kB / 0.5749 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.4098, allocations: 31.95 kB / 0.575 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4098, allocations: 4.188 kB / 0.575 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4098, allocations: 7.938 kB / 0.575 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.4114, allocations: 0.5807 MB / 0.5755 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.4115, allocations: 7.953 kB / 0.5755 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.4115, allocations: 4 kB / 0.5755 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.4119, allocations: 31.95 kB / 0.5756 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.4119, allocations: 19.92 kB / 0.5756 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.412, allocations: 27.95 kB / 0.5756 GB, free: 5.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.326e-05/0.412, allocations: 83.27 kB / 0.5757 GB, free: 5.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.412, allocations: 0 / 0.5757 GB, free: 5.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001647/0.4137, allocations: 0.6557 MB / 0.5763 GB, free: 5.133 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.00275/0.4164, allocations: 286.6 kB / 0.5766 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4176, allocations: 443.5 kB / 0.577 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4176, allocations: 0 / 0.577 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.4181, allocations: 196.1 kB / 0.5772 GB, free: 4.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.4184, allocations: 19.98 kB / 0.5772 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.4207, allocations: 0.5465 MB / 0.5778 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.421, allocations: 0.6965 MB / 0.5785 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.4213, allocations: 91.28 kB / 0.5785 GB, free: 2.777 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4213, allocations: 0 / 0.5785 GB, free: 2.777 MB / 414.1 MB Notification: Performance of Templates: time 0.02391/0.4452, allocations: 15.95 MB / 0.5941 GB, free: 2.844 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.215812024194747]