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.0007672/0.0007672, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001842, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006847/0.0006847, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008892/0.001574, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9205/0.9205, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.03, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.244/0.244, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02142/0.2654, allocations: 13.23 MB / 292.8 MB, free: 6.387 MB / 282.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.653e-06/1.653e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.987e-06/1.064e-05, allocations: 3.406 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009059/0.0009165, allocations: 0.5786 MB / 294.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.001262, allocations: 358.4 kB / 295 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.001277, allocations: 0 / 295 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.757e-06/0.001281, allocations: 4 kB / 295 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.063e-05/0.001292, allocations: 7.875 kB / 295 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.001474, allocations: 91.61 kB / 295.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.347e-05/0.001517, allocations: 23.92 kB / 295.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.001549, allocations: 4 kB / 295.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.001593, allocations: 23.86 kB / 295.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.001638, allocations: 15.97 kB / 295.2 MB, free: 4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.001649, allocations: 4 kB / 295.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.001824, allocations: 131.8 kB / 295.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.001838, allocations: 7.938 kB / 295.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.125e-05/0.001849, allocations: 4 kB / 295.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.001973, allocations: 95.72 kB / 295.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.001981, allocations: 0 / 295.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001982, allocations: 0 / 295.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.001989, allocations: 0 / 295.4 MB, free: 3.762 MB / 282.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.0002809/0.00227, allocations: 273.5 kB / 295.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.453e-05/0.002294, allocations: 10.55 kB / 295.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.002319, allocations: 4.938 kB / 295.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.369e-05/0.002383, allocations: 117.8 kB / 295.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.002392, allocations: 12.31 kB / 295.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.002412, allocations: 4.328 kB / 295.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.094e-05/0.002473, allocations: 50.23 kB / 295.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.002479, allocations: 192 / 295.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.002485, allocations: 384 / 295.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.002489, allocations: 4.375 kB / 295.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.002521, allocations: 23.86 kB / 295.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.398e-05/0.002595, allocations: 68.98 kB / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.002711, allocations: 42.56 kB / 296 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.002731, allocations: 24.84 kB / 296 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.002857, allocations: 35.95 kB / 296.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.002872, allocations: 30.56 kB / 296.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 7.02e-07/0.002873, allocations: 0 / 296.1 MB, free: 2.984 MB / 282.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.01183/0.0147, allocations: 3.072 MB / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.01473, allocations: 51.41 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.362e-05/0.01477, allocations: 106.7 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.0148, allocations: 25.7 kB / 299.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.906e-05/0.01482, allocations: 84.14 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.01488, allocations: 71.34 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.01498, allocations: 53.62 kB / 299.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.01504, allocations: 322.8 kB / 299.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01519, allocations: 172 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.01533, allocations: 179.9 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.01563, allocations: 391.5 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01563, allocations: 0 / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003549/0.01599, allocations: 417.5 kB / 301 MB, free: 14.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.016, allocations: 10.75 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.016, allocations: 0 / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01601, allocations: 7.984 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.01633, allocations: 95.81 kB / 301.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.01633, allocations: 3.938 kB / 301.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.01645, allocations: 19.98 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.01648, allocations: 19.95 kB / 301.2 MB, free: 13.86 MB / 298.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.977e-05/0.01657, allocations: 113.8 kB / 301.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.01662, allocations: 15.98 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.01719, allocations: 0.5634 MB / 301.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01719, allocations: 8 kB / 301.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.01719, allocations: 0 / 301.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01719, allocations: 3.984 kB / 301.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.0182, allocations: 0.6828 MB / 302.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.0182, allocations: 0 / 302.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.01843, allocations: 87.84 kB / 302.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.01844, allocations: 11.95 kB / 302.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01844, allocations: 4 kB / 302.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.01846, allocations: 16.16 kB / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01847, allocations: 3.938 kB / 302.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01847, allocations: 4 kB / 302.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.01876, allocations: 380.5 kB / 303.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.01879, allocations: 8 kB / 303.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.0189, allocations: 19.97 kB / 303.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.01891, allocations: 15.92 kB / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.01894, allocations: 11.97 kB / 303.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.083e-05/0.01895, allocations: 12.84 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01895, allocations: 4 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.01941, allocations: 271.7 kB / 303.4 MB, free: 11.54 MB / 298.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.0009568/0.02037, allocations: 251.8 kB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.02071, allocations: 347.5 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.02071, allocations: 3.938 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.02086, allocations: 149.2 kB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.02102, allocations: 51.97 kB / 304.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/0.02171, allocations: 416.4 kB / 304.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.473e-05/0.02175, allocations: 67.58 kB / 304.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.0221, allocations: 189 kB / 304.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.02239, allocations: 87.28 kB / 304.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02239, allocations: 0 / 304.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of Templates: time 0.01397/0.03636, allocations: 17.55 MB / 322.5 MB, free: 8.414 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7588748009875417]