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.00124/0.00124, allocations: 116.9 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09908, allocations: 62.44 MB / 481.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001611/0.1007, allocations: 0.5376 MB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006427/0.1014, allocations: 409.4 kB / 482.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1014, allocations: 0 / 482.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.1014, allocations: 3.938 kB / 482.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.355e-05/0.1015, allocations: 3.938 kB / 482.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1019, allocations: 131.6 kB / 482.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.1019, allocations: 23.92 kB / 482.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.102, allocations: 4 kB / 482.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.102, allocations: 11.98 kB / 482.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.1021, allocations: 19.86 kB / 482.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.1021, allocations: 4 kB / 482.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.1023, allocations: 171.7 kB / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.1023, allocations: 0 / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1024, allocations: 15.88 kB / 482.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1025, allocations: 127.7 kB / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1026, allocations: 0 / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1026, allocations: 0 / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1026, allocations: 0 / 482.9 MB, free: 3.105 MB / 350.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.0003865/0.103, allocations: 363.5 kB / 483.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.103, allocations: 12.03 kB / 483.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.103, allocations: 0.9375 kB / 483.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1032, allocations: 184.2 kB / 483.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1032, allocations: 384 / 483.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1032, allocations: 4.375 kB / 483.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1033, allocations: 58.19 kB / 483.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1033, allocations: 3.938 kB / 483.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1033, allocations: 0 / 483.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1034, allocations: 4 kB / 483.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.1034, allocations: 39.91 kB / 483.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1036, allocations: 161.7 kB / 483.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1038, allocations: 58.55 kB / 483.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.1038, allocations: 21.14 kB / 483.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.1041, allocations: 113 kB / 483.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1041, allocations: 34.56 kB / 483.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1041, allocations: 3.938 kB / 483.9 MB, free: 1.887 MB / 350.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.1248/0.2289, allocations: 6.392 MB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.2289, allocations: 51.41 kB / 490.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.229, allocations: 105.9 kB / 490.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.2291, allocations: 25.7 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.2291, allocations: 88.12 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.2292, allocations: 63.11 kB / 490.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.2294, allocations: 85.59 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2295, allocations: 322.8 kB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.23, allocations: 227.8 kB / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.2305, allocations: 227.8 kB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.2326, allocations: 0.5573 MB / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2326, allocations: 0 / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001759/0.2343, allocations: 0.6143 MB / 492.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2344, allocations: 4 kB / 492.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2344, allocations: 0 / 492.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2344, allocations: 0 / 492.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.2351, allocations: 108.3 kB / 492.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2351, allocations: 11.94 kB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.2355, allocations: 27.95 kB / 492.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.2356, allocations: 31.94 kB / 492.8 MB, free: 8.883 MB / 366.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.0001381/0.2357, allocations: 125.7 kB / 493 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.2358, allocations: 11.84 kB / 493 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.2378, allocations: 0.7307 MB / 493.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2378, allocations: 0 / 493.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2378, allocations: 0 / 493.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2379, allocations: 0 / 493.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.2417, allocations: 1.168 MB / 494.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2417, allocations: 0 / 494.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.2423, allocations: 95.86 kB / 495 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2423, allocations: 0 / 495 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.2423, allocations: 27.95 kB / 495 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2424, allocations: 8.125 kB / 495 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2424, allocations: 4 kB / 495 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.2439, allocations: 0.582 MB / 495.6 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.244, allocations: 85.02 kB / 495.7 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.244, allocations: 4 kB / 495.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.2444, allocations: 36.2 kB / 495.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.2445, allocations: 7.984 kB / 495.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.2445, allocations: 35.95 kB / 495.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.076e-05/0.2446, allocations: 79.28 kB / 495.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2446, allocations: 0 / 495.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001346/0.2459, allocations: 0.6523 MB / 496.5 MB, free: 5.102 MB / 366.1 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.002685/0.2486, allocations: 298.9 kB / 496.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2497, allocations: 447.5 kB / 497.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2497, allocations: 3.938 kB / 497.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.2502, allocations: 208.1 kB / 497.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.2505, allocations: 15.94 kB / 497.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.2527, allocations: 0.5177 MB / 498 MB, free: 3.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2529, allocations: 0.6965 MB / 498.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003806/0.2533, allocations: 124.9 kB / 498.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.2536, allocations: 87.28 kB / 498.9 MB, free: 2.637 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2536, allocations: 0 / 498.9 MB, free: 2.637 MB / 366.1 MB Notification: Performance of Templates: time 0.2215/0.4751, allocations: 57.39 MB / 0.5432 GB, free: 14.59 MB / 382.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 -s gbode -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