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.0007573/0.0007573, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009294/0.001687, allocations: 449.7 kB / 10.37 MB, free: 324 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.001022/0.001022, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.002274, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9306/0.9306, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0785/1.009, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.2239/0.2239, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02016/0.2441, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.463e-06/1.463e-06, allocations: 0 / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.321e-05, allocations: 8.422 kB / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001439/0.001453, allocations: 0.5853 MB / 294.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005157/0.001968, allocations: 354.4 kB / 294.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.001989, allocations: 4 kB / 294.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.17e-06/0.001994, allocations: 0 / 294.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.326e-05/0.002008, allocations: 3.938 kB / 294.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.002267, allocations: 83.59 kB / 294.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.00233, allocations: 31.91 kB / 294.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.002369, allocations: 4 kB / 294.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.002426, allocations: 15.98 kB / 294.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.002487, allocations: 19.91 kB / 294.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.002503, allocations: 4 kB / 294.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.00275, allocations: 123.8 kB / 295.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.002761, allocations: 0 / 295.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.002778, allocations: 11.94 kB / 295.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.00296, allocations: 99.7 kB / 295.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-05/0.002976, allocations: 0 / 295.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002976, allocations: 0 / 295.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.002997, allocations: 7.938 kB / 295.2 MB, free: 3.867 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.000401/0.003398, allocations: 273.5 kB / 295.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.003432, allocations: 12.02 kB / 295.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.003464, allocations: 4.938 kB / 295.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.003552, allocations: 109.8 kB / 295.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.003565, allocations: 4.375 kB / 295.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.003592, allocations: 12.31 kB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.003687, allocations: 54.17 kB / 295.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.003698, allocations: 192 / 295.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.003706, allocations: 384 / 295.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.003712, allocations: 4.375 kB / 295.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.003758, allocations: 19.92 kB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.003876, allocations: 65.05 kB / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.00407, allocations: 42.59 kB / 295.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.004103, allocations: 24.84 kB / 295.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.004292, allocations: 31.95 kB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.004318, allocations: 34.56 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.00432, allocations: 0 / 295.9 MB, free: 3.098 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.01786/0.02218, allocations: 2.99 MB / 298.9 MB, free: 100 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.02222, allocations: 55.41 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.02229, allocations: 106.7 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.02233, allocations: 29.64 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.02236, allocations: 84.12 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.02244, allocations: 67.42 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.02259, allocations: 57.61 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.02267, allocations: 322.8 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.02313, allocations: 172 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.02336, allocations: 179.9 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.02386, allocations: 391.8 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.02386, allocations: 0 / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005942/0.02446, allocations: 413.5 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.02448, allocations: 7.938 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.02449, allocations: 0 / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.0245, allocations: 4 kB / 300.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.02503, allocations: 103.8 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.02504, allocations: 4 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.02522, allocations: 19.97 kB / 300.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.02527, allocations: 19.95 kB / 300.8 MB, free: 14.05 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 0.0001254/0.0254, allocations: 109.8 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.02546, allocations: 12 kB / 301 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009376/0.0264, allocations: 0.568 MB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.02641, allocations: 4 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.02641, allocations: 0 / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.02641, allocations: 0 / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.02799, allocations: 0.6879 MB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02799, allocations: 0 / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.02837, allocations: 88.23 kB / 302.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.02838, allocations: 15.94 kB / 302.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.02838, allocations: 4 kB / 302.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.02842, allocations: 19.97 kB / 302.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.02842, allocations: 0 / 302.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.02843, allocations: 4 kB / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.02899, allocations: 383.4 kB / 302.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.02905, allocations: 4 kB / 302.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.02931, allocations: 19.98 kB / 302.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.02934, allocations: 23.91 kB / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.02939, allocations: 11.97 kB / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.103e-05/0.02941, allocations: 12.8 kB / 302.8 MB, free: 12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02941, allocations: 0 / 302.8 MB, free: 12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000609/0.03002, allocations: 275.7 kB / 303.1 MB, free: 11.73 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.0005578/0.03058, allocations: 243.9 kB / 303.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.03092, allocations: 336.6 kB / 303.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.03093, allocations: 4 kB / 303.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.03106, allocations: 152.7 kB / 303.8 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.03122, allocations: 43.92 kB / 303.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.0319, allocations: 413.8 kB / 304.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.03194, allocations: 63.89 kB / 304.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003507/0.03229, allocations: 193 kB / 304.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.03256, allocations: 83.3 kB / 304.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03256, allocations: 0 / 304.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Templates: time 0.01392/0.04648, allocations: 17.52 MB / 322.1 MB, free: 8.66 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.672631027176976]