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.001523/0.001523, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 75.86 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2743, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001458/0.2758, allocations: 0.5318 MB / 0.5322 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006942/0.2765, allocations: 405.6 kB / 0.5326 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.2765, allocations: 0 / 0.5326 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.2766, allocations: 7.875 kB / 0.5326 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.2766, allocations: 3.938 kB / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.2771, allocations: 137.4 kB / 0.5327 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.2771, allocations: 22.77 kB / 0.5327 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.2772, allocations: 6.781 kB / 0.5327 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.2772, allocations: 18.27 kB / 0.5327 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.2773, allocations: 20.17 kB / 0.5328 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2773, allocations: 1.906 kB / 0.5328 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.2775, allocations: 159.3 kB / 0.5329 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.2775, allocations: 6.75 kB / 0.5329 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.2776, allocations: 16 kB / 0.5329 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.2778, allocations: 126.2 kB / 0.5331 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2778, allocations: 0 / 0.5331 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2778, allocations: 0 / 0.5331 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2778, allocations: 5.312 kB / 0.5331 GB, free: 12.58 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.0003869/0.2782, allocations: 365.3 kB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2782, allocations: 9.625 kB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2783, allocations: 3.688 kB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2784, allocations: 171.6 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.2784, allocations: 1.75 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.2784, allocations: 8.5 kB / 0.5336 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2785, allocations: 50.62 kB / 0.5336 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2786, allocations: 7.875 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2786, allocations: 5.359 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.2786, allocations: 5.375 kB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.2787, allocations: 27.09 kB / 0.5337 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.2788, allocations: 172.5 kB / 0.5339 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.279, allocations: 64.64 kB / 0.5339 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.2791, allocations: 25.23 kB / 0.5339 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.2793, allocations: 109.6 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.2794, allocations: 30.56 kB / 0.5341 GB, free: 11.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.2794, allocations: 1.375 kB / 0.5341 GB, free: 11.5 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.1437/0.423, allocations: 6.392 MB / 0.5403 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4231, allocations: 53.88 kB / 0.5404 GB, free: 7.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.4232, allocations: 98.8 kB / 0.5405 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4232, allocations: 30.95 kB / 0.5405 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.4233, allocations: 89.53 kB / 0.5406 GB, free: 7.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.4234, allocations: 57.67 kB / 0.5406 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.4236, allocations: 89.44 kB / 0.5407 GB, free: 7.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4237, allocations: 325 kB / 0.541 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.4242, allocations: 224.6 kB / 0.5412 GB, free: 7.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.4247, allocations: 231.3 kB / 0.5415 GB, free: 6.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.4268, allocations: 0.5633 MB / 0.542 GB, free: 6.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4268, allocations: 0 / 0.542 GB, free: 6.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001774/0.4285, allocations: 0.6021 MB / 0.5426 GB, free: 6.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4286, allocations: 14.75 kB / 0.5426 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4286, allocations: 0 / 0.5426 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4286, allocations: 0 / 0.5426 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.4293, allocations: 111.8 kB / 0.5427 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4293, allocations: 3.938 kB / 0.5427 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.4297, allocations: 23.95 kB / 0.5427 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.4298, allocations: 36.19 kB / 0.5428 GB, free: 6.059 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.0001433/0.4299, allocations: 117.8 kB / 0.5429 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.43, allocations: 7.906 kB / 0.5429 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.432, allocations: 0.7385 MB / 0.5436 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4321, allocations: 0 / 0.5436 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4321, allocations: 4 kB / 0.5436 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.4321, allocations: 85 kB / 0.5437 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.4322, allocations: 11.94 kB / 0.5437 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.4326, allocations: 27.97 kB / 0.5437 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.4327, allocations: 7.984 kB / 0.5438 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002236/0.4349, allocations: 0.7269 MB / 0.5445 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001818/0.4367, allocations: 0.7677 MB / 0.5452 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005304/0.4373, allocations: 250.6 kB / 0.5455 GB, free: 3.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.4373, allocations: 83.69 kB / 0.5455 GB, free: 3.188 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.4374, allocations: 0 / 0.5455 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004132/0.4415, allocations: 0.537 MB / 0.5461 GB, free: 2.645 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005001/0.442, allocations: 0.6268 MB / 0.5467 GB, free: 1.969 MB / 398.1 MB Notification: Performance of Templates: time 0.06631/0.5083, allocations: 58.32 MB / 0.6036 GB, free: 7.566 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