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.001391/0.001391, 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.001274/0.001274, allocations: 164.4 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.9326/0.9326, allocations: 177 MB / 205.2 MB, free: 5.062 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.2482/0.2482, allocations: 34.86 MB / 296.6 MB, free: 492 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.302e-06/1.302e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.846e-05, allocations: 5.406 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00112/0.001139, allocations: 0.5889 MB / 326.5 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005087/0.001648, allocations: 351.2 kB / 326.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.001672, allocations: 0 / 326.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.001686, allocations: 3.938 kB / 326.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.055e-05/0.001717, allocations: 3.938 kB / 326.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.001999, allocations: 99.58 kB / 327 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.986e-05/0.002049, allocations: 19.98 kB / 327 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.002083, allocations: 0 / 327 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.026e-05/0.002123, allocations: 23.91 kB / 327 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.002172, allocations: 7.984 kB / 327 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.002188, allocations: 4 kB / 327 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.002379, allocations: 127.9 kB / 327.2 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.002392, allocations: 3.938 kB / 327.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.002406, allocations: 12.73 kB / 327.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.002546, allocations: 123.6 kB / 327.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002549, allocations: 3.938 kB / 327.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002549, allocations: 0 / 327.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.002552, allocations: 0 / 327.3 MB, free: 5.809 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.0002629/0.002815, allocations: 270 kB / 327.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.002844, allocations: 8.031 kB / 327.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.00287, allocations: 8.938 kB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.262e-05/0.002942, allocations: 117.7 kB / 327.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.00295, allocations: 384 / 327.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.002967, allocations: 8.375 kB / 327.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.7e-05/0.003034, allocations: 54.19 kB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.003044, allocations: 4.172 kB / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.003051, allocations: 384 / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.003057, allocations: 384 / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.003086, allocations: 15.94 kB / 327.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.547e-05/0.003182, allocations: 73.02 kB / 327.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.003307, allocations: 38.84 kB / 327.9 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.003329, allocations: 20.8 kB / 327.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.003469, allocations: 39.95 kB / 327.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.003487, allocations: 30.56 kB / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 7.81e-07/0.003488, allocations: 0 / 328 MB, free: 5.043 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.01527/0.01875, allocations: 2.171 MB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.01878, allocations: 59.34 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.01883, allocations: 110.7 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.01885, allocations: 29.7 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.01887, allocations: 80.14 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.01893, allocations: 67.42 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.019, allocations: 37.67 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.01907, allocations: 318.8 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.764e-05/0.01916, allocations: 87.98 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/0.01925, allocations: 94.39 kB / 331 MB, free: 1.926 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.01959, allocations: 264.7 kB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01959, allocations: 0 / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003111/0.0199, allocations: 265.8 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01991, allocations: 11.88 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.01992, allocations: 0 / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01993, allocations: 8 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.02012, allocations: 55.92 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.02012, allocations: 0 / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.0202, allocations: 19.98 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.02022, allocations: 3.984 kB / 331.6 MB, free: 1.305 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 7.967e-05/0.0203, allocations: 125.8 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.02033, allocations: 11.98 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.02077, allocations: 349.8 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.02077, allocations: 7.938 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.02077, allocations: 0 / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.02078, allocations: 3.984 kB / 332.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008473/0.02162, allocations: 0.5429 MB / 332.7 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02163, allocations: 4 kB / 332.7 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.02177, allocations: 59.86 kB / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02177, allocations: 4 kB / 332.7 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.02179, allocations: 8 kB / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.02179, allocations: 4.172 kB / 332.7 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.02179, allocations: 11.94 kB / 332.7 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.02208, allocations: 300.5 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.02209, allocations: 11.95 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.02211, allocations: 0 / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.0222, allocations: 23.97 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.02222, allocations: 23.86 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.02224, allocations: 7.984 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.039e-05/0.02225, allocations: 16.84 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02225, allocations: 4 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004844/0.02274, allocations: 319.6 kB / 333.4 MB, free: 15.39 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.0008169/0.02355, allocations: 243.9 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.02378, allocations: 199.8 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02378, allocations: 0 / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.02387, allocations: 86.69 kB / 334 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.02401, allocations: 20.36 kB / 334 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.02452, allocations: 338.5 kB / 334.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.02456, allocations: 63.58 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.02475, allocations: 96.92 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.02492, allocations: 71.33 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02492, allocations: 4 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Templates: time 0.01727/0.04219, allocations: 19.56 MB / 354.1 MB, free: 10.73 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 -s gbode -gbm=radauIIA3 -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.743229554966092]