Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 110.9 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001642/0.2836, allocations: 0.5347 MB / 0.5322 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.2844, allocations: 404.5 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.2844, allocations: 0 / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.2845, allocations: 3.938 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.054e-05/0.2845, allocations: 1.875 kB / 0.5326 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.285, allocations: 146.8 kB / 0.5327 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.755e-05/0.2851, allocations: 27.83 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.2851, allocations: 2.656 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.2851, allocations: 9.078 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.069e-05/0.2852, allocations: 24.84 kB / 0.5328 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.2852, allocations: 1.312 kB / 0.5328 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.2855, allocations: 160.6 kB / 0.5329 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.2855, allocations: 6.562 kB / 0.5329 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.2855, allocations: 22.61 kB / 0.533 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.2857, allocations: 117.8 kB / 0.5331 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2858, allocations: 5.375 kB / 0.5331 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2858, allocations: 0 / 0.5331 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2858, allocations: 0 / 0.5331 GB, free: 12.61 MB / 398.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.0004299/0.2862, allocations: 371.4 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2863, allocations: 8.25 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.2863, allocations: 3.688 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2864, allocations: 179 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2864, allocations: 5.75 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.2865, allocations: 7.125 kB / 0.5336 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.2866, allocations: 54.56 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2866, allocations: 9.297 kB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2866, allocations: 0 / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2866, allocations: 1.375 kB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.2867, allocations: 24.48 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.2869, allocations: 175.2 kB / 0.5339 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.2871, allocations: 56.67 kB / 0.5339 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.2872, allocations: 29.22 kB / 0.534 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.2874, allocations: 101.6 kB / 0.534 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2875, allocations: 35.94 kB / 0.5341 GB, free: 11.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2875, allocations: 288 / 0.5341 GB, free: 11.52 MB / 398.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.1285/0.4159, allocations: 6.395 MB / 0.5403 GB, free: 7.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.416, allocations: 57.97 kB / 0.5404 GB, free: 7.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.4161, allocations: 96.27 kB / 0.5405 GB, free: 7.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.4161, allocations: 29.7 kB / 0.5405 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.4162, allocations: 85.66 kB / 0.5406 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.923e-05/0.4163, allocations: 67.23 kB / 0.5406 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.4165, allocations: 88.78 kB / 0.5407 GB, free: 7.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4166, allocations: 324.9 kB / 0.541 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.4171, allocations: 228.8 kB / 0.5413 GB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.4177, allocations: 230.7 kB / 0.5415 GB, free: 6.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.4198, allocations: 0.5596 MB / 0.542 GB, free: 6.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4198, allocations: 480 / 0.542 GB, free: 6.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001823/0.4216, allocations: 0.6122 MB / 0.5426 GB, free: 6.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4216, allocations: 4 kB / 0.5426 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4217, allocations: 3.938 kB / 0.5426 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4217, allocations: 3.984 kB / 0.5426 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.4223, allocations: 108 kB / 0.5427 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.4224, allocations: 7.984 kB / 0.5427 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.4228, allocations: 23.97 kB / 0.5428 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.4229, allocations: 35.94 kB / 0.5428 GB, free: 6.102 MB / 398.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.000136/0.423, allocations: 125.7 kB / 0.5429 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.4231, allocations: 7.953 kB / 0.5429 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.4259, allocations: 0.7309 MB / 0.5436 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4259, allocations: 4 kB / 0.5437 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4259, allocations: 3.984 kB / 0.5437 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.426, allocations: 85.06 kB / 0.5437 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.4261, allocations: 3.938 kB / 0.5437 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/0.4266, allocations: 23.97 kB / 0.5438 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.4267, allocations: 7.984 kB / 0.5438 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002883/0.4296, allocations: 0.7346 MB / 0.5445 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002097/0.4317, allocations: 0.7678 MB / 0.5452 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008942/0.4326, allocations: 242.6 kB / 0.5455 GB, free: 3.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.147e-05/0.4327, allocations: 87.22 kB / 0.5456 GB, free: 3.234 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.4327, allocations: 0 / 0.5456 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.4374, allocations: 0.556 MB / 0.5461 GB, free: 2.672 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005021/0.438, allocations: 0.6189 MB / 0.5467 GB, free: 2.004 MB / 398.1 MB Notification: Performance of Templates: time 0.07089/0.5089, allocations: 58.09 MB / 0.6034 GB, free: 7.82 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches