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.001449/0.001449, allocations: 86.41 kB / 20.68 MB, free: 1.035 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: 159.4 kB / 23.95 MB, free: 4.168 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.656/1.656, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2165/0.2165, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.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.633e-06/1.633e-06, allocations: 0 / 442.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.842e-05, allocations: 4.812 kB / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001492/0.001521, allocations: 0.5362 MB / 443.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.002216, allocations: 338.7 kB / 443.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.002245, allocations: 0 / 443.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.002264, allocations: 3.938 kB / 443.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.867e-05/0.002293, allocations: 4 kB / 443.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.002724, allocations: 111.5 kB / 443.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.002785, allocations: 19.98 kB / 443.6 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.002833, allocations: 15.97 kB / 443.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.002872, allocations: 19.92 kB / 443.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.002929, allocations: 7.984 kB / 443.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.002944, allocations: 0 / 443.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.003168, allocations: 111.9 kB / 443.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.003183, allocations: 3.938 kB / 443.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.003207, allocations: 15.97 kB / 443.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.003447, allocations: 119.6 kB / 443.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00345, allocations: 0 / 443.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003451, allocations: 0 / 443.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.003459, allocations: 0 / 443.9 MB, free: 4.031 MB / 366.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.0004246/0.003884, allocations: 290 kB / 444.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.003919, allocations: 12.03 kB / 444.2 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.003949, allocations: 4.891 kB / 444.2 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.004077, allocations: 109.8 kB / 444.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.00409, allocations: 4.312 kB / 444.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.004116, allocations: 4.375 kB / 444.4 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.004239, allocations: 54.23 kB / 444.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.004255, allocations: 12.08 kB / 444.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.004263, allocations: 384 / 444.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004268, allocations: 384 / 444.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.004339, allocations: 35.92 kB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.004503, allocations: 117.2 kB / 444.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.004716, allocations: 50.56 kB / 444.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.004765, allocations: 24.84 kB / 444.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.005004, allocations: 35.94 kB / 444.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.005033, allocations: 34.56 kB / 444.7 MB, free: 3.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.005034, allocations: 0 / 444.7 MB, free: 3.145 MB / 366.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.04535/0.05039, allocations: 2.58 MB / 447.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.05043, allocations: 51.41 kB / 447.3 MB, free: 476 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.05055, allocations: 109.8 kB / 447.4 MB, free: 356 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.05059, allocations: 25.7 kB / 447.5 MB, free: 324 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.05064, allocations: 84.14 kB / 447.6 MB, free: 236 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.05072, allocations: 63.44 kB / 447.6 MB, free: 172 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.05087, allocations: 61.62 kB / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1843/0.2352, allocations: 318.8 kB / 448 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.2357, allocations: 168.9 kB / 448.2 MB, free: 18.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.2361, allocations: 176 kB / 448.3 MB, free: 18.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.2372, allocations: 420.7 kB / 448.7 MB, free: 18.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2372, allocations: 1.094 kB / 448.7 MB, free: 18.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00106/0.2383, allocations: 461.7 kB / 449.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2383, allocations: 5.938 kB / 449.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2383, allocations: 0 / 449.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.2383, allocations: 1.312 kB / 449.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.2387, allocations: 69.91 kB / 449.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2387, allocations: 4.359 kB / 449.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.239, allocations: 23.58 kB / 449.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.239, allocations: 16.66 kB / 449.3 MB, free: 17.84 MB / 366.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.0001051/0.2391, allocations: 116.7 kB / 449.4 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.2392, allocations: 10.11 kB / 449.4 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.2404, allocations: 0.5366 MB / 450 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2404, allocations: 6.422 kB / 450 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2404, allocations: 3.938 kB / 450 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2404, allocations: 4.312 kB / 450 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.2425, allocations: 0.782 MB / 450.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2425, allocations: 2.656 kB / 450.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.2428, allocations: 72.58 kB / 450.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2428, allocations: 2.75 kB / 450.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.2429, allocations: 18.09 kB / 450.9 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2429, allocations: 3.453 kB / 450.9 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2429, allocations: 1.375 kB / 450.9 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.2438, allocations: 467.4 kB / 451.3 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.2438, allocations: 8.078 kB / 451.3 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.2438, allocations: 7.5 kB / 451.3 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.244, allocations: 17.28 kB / 451.3 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.2441, allocations: 25.5 kB / 451.4 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.2441, allocations: 16.19 kB / 451.4 MB, free: 16.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.2441, allocations: 86.7 kB / 451.5 MB, free: 16.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2441, allocations: 3.656 kB / 451.5 MB, free: 16.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008953/0.245, allocations: 315.2 kB / 451.8 MB, free: 16.77 MB / 366.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.001466/0.2465, allocations: 259 kB / 452 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.2473, allocations: 333.3 kB / 452.4 MB, free: 16.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2473, allocations: 0 / 452.4 MB, free: 16.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.2477, allocations: 141 kB / 452.5 MB, free: 16.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.248, allocations: 10.33 kB / 452.5 MB, free: 16.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2493, allocations: 417.4 kB / 452.9 MB, free: 16.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.2494, allocations: 82.14 kB / 453 MB, free: 16.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.2496, allocations: 91.02 kB / 453.1 MB, free: 16.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.2498, allocations: 49.62 kB / 453.1 MB, free: 16.21 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2498, allocations: 3.938 kB / 453.1 MB, free: 16.21 MB / 366.1 MB Notification: Performance of Templates: time 0.02465/0.2745, allocations: 18.04 MB / 471.2 MB, free: 9.016 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.21574067696929]