Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 100.6 kB / 16.27 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 186.9 kB / 17.2 MB, free: 5.941 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.375/1.375, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1976/0.1976, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.0015/0.0015, allocations: 67.97 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08624, allocations: 57.78 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001856/0.08813, allocations: 0.5083 MB / 441 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000289/0.08845, allocations: 93.48 kB / 441.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.08851, allocations: 0 / 441.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.08854, allocations: 0 / 441.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.713e-05/0.08857, allocations: 3.938 kB / 441.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.08881, allocations: 11.98 kB / 441.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.08888, allocations: 11.98 kB / 441.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.08895, allocations: 7.938 kB / 441.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.08899, allocations: 19.91 kB / 441.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.08905, allocations: 0 / 441.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.08907, allocations: 4 kB / 441.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.08915, allocations: 27.97 kB / 441.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.08917, allocations: 11.92 kB / 441.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.08921, allocations: 4 kB / 441.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.124e-05/0.0893, allocations: 27.89 kB / 441.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.08931, allocations: 4 kB / 441.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08932, allocations: 3.938 kB / 441.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.08933, allocations: 0 / 441.2 MB, free: 6.168 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003338/0.08967, allocations: 335.7 kB / 441.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.08972, allocations: 11.89 kB / 441.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.08976, allocations: 4.938 kB / 441.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.897e-05/0.08984, allocations: 164.4 kB / 441.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.08986, allocations: 384 / 441.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.08988, allocations: 4.375 kB / 441.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.09002, allocations: 47.97 kB / 441.8 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.09004, allocations: 4.188 kB / 441.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.09005, allocations: 7.938 kB / 441.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.09006, allocations: 0 / 441.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.09011, allocations: 19.92 kB / 441.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.09039, allocations: 313.2 kB / 442.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.241e-05/0.09046, allocations: 26.52 kB / 442.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.09051, allocations: 24.88 kB / 442.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.09054, allocations: 0 / 442.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.09057, allocations: 35.06 kB / 442.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.09057, allocations: 3.938 kB / 442.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.09079, allocations: 57.59 kB / 442.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.09083, allocations: 51.41 kB / 442.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.09091, allocations: 97.86 kB / 442.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.09093, allocations: 29.83 kB / 442.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.09097, allocations: 80.14 kB / 442.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.09099, allocations: 15.73 kB / 442.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.09103, allocations: 17.72 kB / 442.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.09109, allocations: 314.8 kB / 442.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.09112, allocations: 15.92 kB / 442.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.09115, allocations: 17.72 kB / 442.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.0912, allocations: 29.72 kB / 442.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.09121, allocations: 0 / 442.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.142e-05/0.09129, allocations: 61.56 kB / 443 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.09131, allocations: 5.25 kB / 443 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.09132, allocations: 3.938 kB / 443 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.09134, allocations: 4 kB / 443 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.09141, allocations: 7.984 kB / 443 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.09143, allocations: 4 kB / 443 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.09145, allocations: 400 / 443 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.09147, allocations: 8 kB / 443 MB, free: 4.137 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 5.148e-05/0.09153, allocations: 117.7 kB / 443.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.09156, allocations: 3.906 kB / 443.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.09168, allocations: 69.11 kB / 443.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.09169, allocations: 3.984 kB / 443.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.0917, allocations: 0 / 443.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.09171, allocations: 0 / 443.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.09182, allocations: 161.6 kB / 443.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.09183, allocations: 4 kB / 443.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.09187, allocations: 4 kB / 443.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.09188, allocations: 4 kB / 443.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.09189, allocations: 4 kB / 443.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.0919, allocations: 0 / 443.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.0919, allocations: 0 / 443.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.239e-05/0.092, allocations: 155.4 kB / 443.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.09203, allocations: 85.05 kB / 443.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.09205, allocations: 0 / 443.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-05/0.0921, allocations: 4 kB / 443.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.09214, allocations: 7.984 kB / 443.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.09215, allocations: 4 kB / 443.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.808e-05/0.09218, allocations: 75.28 kB / 443.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09218, allocations: 0 / 443.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.09241, allocations: 8 kB / 443.7 MB, free: 3.336 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001041/0.09252, allocations: 95.25 kB / 443.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.09264, allocations: 36.02 kB / 443.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.09265, allocations: 0 / 443.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.548e-05/0.09268, allocations: 12 kB / 443.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.09291, allocations: 3.938 kB / 443.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.09313, allocations: 113.2 kB / 444 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.09324, allocations: 0.6729 MB / 444.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.179e-05/0.09328, allocations: 16 kB / 444.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.0933, allocations: 11.42 kB / 444.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09331, allocations: 0 / 444.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of Templates: time 0.002645/0.09596, allocations: 462.6 kB / 445.1 MB, free: 1.871 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches