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.0008888/0.0008888, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.004377/0.004377, allocations: 164 kB / 24.91 MB, free: 8.715 MB / 18.57 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.9642/0.9642, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.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.2659/0.2659, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 266.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.533e-06/1.533e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.34e-05, allocations: 5.125 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001465/0.001488, allocations: 0.5407 MB / 326.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.001942, allocations: 347.3 kB / 326.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.001967, allocations: 0 / 326.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.00198, allocations: 3.938 kB / 326.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.965e-05/0.002009, allocations: 3.938 kB / 326.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.002326, allocations: 107.6 kB / 326.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.563e-05/0.002372, allocations: 27.91 kB / 326.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.002405, allocations: 3.984 kB / 326.9 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.00244, allocations: 19.92 kB / 326.9 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.002491, allocations: 7.984 kB / 326.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.002506, allocations: 4 kB / 327 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.002662, allocations: 111.8 kB / 327.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.002675, allocations: 7.938 kB / 327.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.002691, allocations: 16.72 kB / 327.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.002818, allocations: 123.6 kB / 327.2 MB, free: 5.859 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.00282, allocations: 4 kB / 327.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.00282, allocations: 0 / 327.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.002823, allocations: 0 / 327.2 MB, free: 5.855 MB / 298.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.0002308/0.003054, allocations: 266 kB / 327.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.003081, allocations: 8.031 kB / 327.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.003102, allocations: 4.938 kB / 327.5 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.313e-05/0.003165, allocations: 117.7 kB / 327.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.003175, allocations: 4.375 kB / 327.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.00319, allocations: 4.375 kB / 327.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.971e-05/0.00325, allocations: 46.19 kB / 327.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.003259, allocations: 16.17 kB / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.003266, allocations: 384 / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.003271, allocations: 384 / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.003296, allocations: 15.92 kB / 327.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.909e-05/0.003375, allocations: 73.03 kB / 327.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.003482, allocations: 42.59 kB / 327.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.003503, allocations: 20.84 kB / 327.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.003617, allocations: 35.95 kB / 327.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.003633, allocations: 34.56 kB / 327.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.003634, allocations: 0 / 327.9 MB, free: 5.09 MB / 298.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.01409/0.01772, allocations: 2.171 MB / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.01776, allocations: 55.41 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/0.01782, allocations: 114.7 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.01785, allocations: 25.7 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.01788, allocations: 84.12 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.01793, allocations: 67.42 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.018, allocations: 41.67 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.01807, allocations: 318.8 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.01815, allocations: 87.98 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.01824, allocations: 94.39 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.01855, allocations: 256.7 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01855, allocations: 0 / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002918/0.01884, allocations: 262.8 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01885, allocations: 11.94 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01886, allocations: 0 / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.01887, allocations: 0 / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.01903, allocations: 55.94 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.01903, allocations: 0 / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.01911, allocations: 19.97 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01912, allocations: 8.25 kB / 331.5 MB, free: 1.359 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.061e-05/0.0192, allocations: 129.8 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.01923, allocations: 4 kB / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/0.01978, allocations: 360.8 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01979, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.01979, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.01979, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.02057, allocations: 0.5509 MB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02057, allocations: 3.938 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.02069, allocations: 51.94 kB / 332.6 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.0207, allocations: 4 kB / 332.6 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.02071, allocations: 7.984 kB / 332.6 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02072, allocations: 7.938 kB / 332.6 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02072, allocations: 4.188 kB / 332.6 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.02101, allocations: 304.5 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.02102, allocations: 15.89 kB / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.02104, allocations: 4 kB / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.02112, allocations: 19.97 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.02114, allocations: 19.92 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.02116, allocations: 7.984 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.253e-05/0.02117, allocations: 12.84 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02117, allocations: 0 / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.02179, allocations: 323.5 kB / 333.3 MB, free: 15.46 MB / 314.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.0007901/0.02258, allocations: 247.8 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.02281, allocations: 192.7 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.02281, allocations: 0 / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.02289, allocations: 85.19 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.02304, allocations: 23.25 kB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.02356, allocations: 338.9 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.0236, allocations: 63.58 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.02377, allocations: 101.2 kB / 334.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.02393, allocations: 67.34 kB / 334.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02393, allocations: 0 / 334.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of Templates: time 0.01742/0.04134, allocations: 19.56 MB / 354 MB, free: 10.81 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.908166866749525]