Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 97.45 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 174.6 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.7 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3129/0.3129, allocations: 43.54 MB / 314.5 MB, free: 9.055 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004823, allocations: 16 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09695, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005588/0.09754, allocations: 271 kB / 443 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.09823, allocations: 380.9 kB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.09828, allocations: 0 / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.0983, allocations: 3.938 kB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.215e-05/0.09834, allocations: 4 kB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.09873, allocations: 83.78 kB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.09879, allocations: 31.84 kB / 443.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.09884, allocations: 4 kB / 443.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.09887, allocations: 11.98 kB / 443.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.09892, allocations: 19.86 kB / 443.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.09894, allocations: 4 kB / 443.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.09918, allocations: 147.8 kB / 443.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.0992, allocations: 7.969 kB / 443.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.09922, allocations: 29.7 kB / 443.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.09937, allocations: 76.19 kB / 443.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.09938, allocations: 0 / 443.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.09939, allocations: 3.984 kB / 443.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.0994, allocations: 4 kB / 443.8 MB, free: 12.25 MB / 382.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.0003382/0.09974, allocations: 359.2 kB / 444.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.09978, allocations: 8.031 kB / 444.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.09982, allocations: 11.86 kB / 444.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.09994, allocations: 171 kB / 444.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.09996, allocations: 4 kB / 444.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.09998, allocations: 4 kB / 444.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1001, allocations: 45.69 kB / 444.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1001, allocations: 11.94 kB / 444.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1002, allocations: 4 kB / 444.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1002, allocations: 3.984 kB / 444.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.1002, allocations: 27.97 kB / 444.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1004, allocations: 169.5 kB / 444.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1006, allocations: 58.83 kB / 444.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.1008, allocations: 121 kB / 444.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1009, allocations: 34.56 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1009, allocations: 7.938 kB / 444.8 MB, free: 11.05 MB / 382.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.1331/0.2339, allocations: 6.608 MB / 451.4 MB, free: 4.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.234, allocations: 59.41 kB / 451.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.2341, allocations: 101.8 kB / 451.6 MB, free: 4.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.2342, allocations: 29.7 kB / 451.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.2343, allocations: 84.14 kB / 451.7 MB, free: 4.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.2344, allocations: 59.09 kB / 451.8 MB, free: 4.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.2344, allocations: 8 kB / 451.8 MB, free: 4.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2345, allocations: 318.8 kB / 452.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.2351, allocations: 243.8 kB / 452.3 MB, free: 3.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.2356, allocations: 247.8 kB / 452.6 MB, free: 3.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2366, allocations: 291.8 kB / 452.8 MB, free: 2.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2366, allocations: 0 / 452.8 MB, free: 2.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001697/0.2383, allocations: 0.6489 MB / 453.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2384, allocations: 4 kB / 453.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2384, allocations: 0 / 453.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2384, allocations: 3.984 kB / 453.5 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.239, allocations: 107.8 kB / 453.6 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.239, allocations: 7.891 kB / 453.6 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.2394, allocations: 39.95 kB / 453.7 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.2395, allocations: 31.94 kB / 453.7 MB, free: 2.102 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.2397, allocations: 121.8 kB / 453.8 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.2397, allocations: 11.91 kB / 453.8 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.2418, allocations: 0.7593 MB / 454.6 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2418, allocations: 4 kB / 454.6 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2418, allocations: 0 / 454.6 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2418, allocations: 3.984 kB / 454.6 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1775/0.4193, allocations: 1.222 MB / 455.8 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.4194, allocations: 0 / 455.8 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.4199, allocations: 108.8 kB / 455.9 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.4199, allocations: 2.781 kB / 455.9 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.42, allocations: 25.94 kB / 455.9 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.42, allocations: 6.719 kB / 455.9 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.42, allocations: 5.609 kB / 456 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.4216, allocations: 0.6742 MB / 456.6 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.4216, allocations: 88.08 kB / 456.7 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.4217, allocations: 12.83 kB / 456.7 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.4221, allocations: 30.59 kB / 456.8 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.4221, allocations: 25.73 kB / 456.8 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.4222, allocations: 24.25 kB / 456.8 MB, free: 44.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.4222, allocations: 88.59 kB / 456.9 MB, free: 44.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4222, allocations: 0 / 456.9 MB, free: 44.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001604/0.4238, allocations: 0.6401 MB / 457.5 MB, free: 44.64 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002706/0.4266, allocations: 314.1 kB / 457.8 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4276, allocations: 483 kB / 458.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4277, allocations: 0 / 458.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.4281, allocations: 218.8 kB / 458.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.4283, allocations: 7.781 kB / 458.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.4305, allocations: 0.5897 MB / 459.1 MB, free: 44.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4306, allocations: 0.6974 MB / 459.8 MB, free: 43.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.4311, allocations: 129.8 kB / 459.9 MB, free: 43.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.4314, allocations: 87.97 kB / 460 MB, free: 43.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4314, allocations: 0 / 460 MB, free: 43.65 MB / 382.1 MB Notification: Performance of Templates: time 0.06753/0.4989, allocations: 56.91 MB / 0.5048 GB, free: 16.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches