Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001059/0.001059, allocations: 109.4 kB / 18.45 MB, free: 4.598 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.001104/0.001104, allocations: 184.3 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2001/0.2001, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3073, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001444/0.3088, allocations: 0.5058 MB / 0.5201 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000275/0.3091, allocations: 96.98 kB / 0.5201 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.3091, allocations: 0 / 0.5201 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.3091, allocations: 0 / 0.5201 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.3092, allocations: 1.375 kB / 0.5201 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.3093, allocations: 17.02 kB / 0.5202 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.3094, allocations: 12.92 kB / 0.5202 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.3095, allocations: 2.969 kB / 0.5202 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.3095, allocations: 3.203 kB / 0.5202 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.3096, allocations: 17.3 kB / 0.5202 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.3096, allocations: 0 / 0.5202 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.3097, allocations: 28.73 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.3097, allocations: 4.797 kB / 0.5202 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.3097, allocations: 11.62 kB / 0.5202 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.3098, allocations: 26.48 kB / 0.5203 GB, free: 3.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3098, allocations: 1.031 kB / 0.5203 GB, free: 3.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3098, allocations: 3.938 kB / 0.5203 GB, free: 3.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3099, allocations: 0 / 0.5203 GB, free: 3.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000317/0.3102, allocations: 330.3 kB / 0.5206 GB, free: 2.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3102, allocations: 8.906 kB / 0.5206 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.3103, allocations: 2.188 kB / 0.5206 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.546e-05/0.3103, allocations: 166.4 kB / 0.5208 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3103, allocations: 1.344 kB / 0.5208 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3104, allocations: 3.969 kB / 0.5208 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.3105, allocations: 54.3 kB / 0.5208 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3105, allocations: 192 / 0.5208 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3105, allocations: 9.922 kB / 0.5208 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3105, allocations: 0 / 0.5208 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.3106, allocations: 12.33 kB / 0.5208 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.3108, allocations: 325.7 kB / 0.5211 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.3109, allocations: 28.91 kB / 0.5212 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.3109, allocations: 17.34 kB / 0.5212 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3109, allocations: 5.5 kB / 0.5212 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.311, allocations: 31.22 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.311, allocations: 0 / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001789/0.3112, allocations: 58.64 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.3112, allocations: 51.92 kB / 0.5213 GB, free: 2.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.3112, allocations: 94.94 kB / 0.5214 GB, free: 1.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.3113, allocations: 25.7 kB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.3113, allocations: 86.23 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.3113, allocations: 13.59 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3113, allocations: 18.66 kB / 0.5216 GB, free: 1.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.3114, allocations: 313.5 kB / 0.5219 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.3114, allocations: 5.625 kB / 0.5219 GB, free: 1.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.3114, allocations: 20.7 kB / 0.5219 GB, free: 1.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.3115, allocations: 41.03 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3115, allocations: 0 / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.278e-05/0.3116, allocations: 54.42 kB / 0.522 GB, free: 1.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3116, allocations: 10.11 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3116, allocations: 5.312 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3116, allocations: 1.375 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.3117, allocations: 10.97 kB / 0.522 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3117, allocations: 1.891 kB / 0.522 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.3117, allocations: 5.094 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3118, allocations: 1.344 kB / 0.522 GB, free: 1.336 MB / 382.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 4.401e-05/0.3118, allocations: 116 kB / 0.5221 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3118, allocations: 10.2 kB / 0.5221 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.3119, allocations: 66.83 kB / 0.5222 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.312, allocations: 6 kB / 0.5222 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.312, allocations: 0 / 0.5222 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.312, allocations: 79.09 kB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.312, allocations: 0.7031 kB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.3121, allocations: 1.281 kB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.3121, allocations: 2.828 kB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.9e-05/0.3122, allocations: 140.5 kB / 0.5224 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001046/0.3123, allocations: 227.7 kB / 0.5226 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.389e-05/0.3124, allocations: 12.78 kB / 0.5226 GB, free: 0.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.3124, allocations: 78.45 kB / 0.5227 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of Backend: time 3e-07/0.3124, allocations: 0 / 0.5227 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.3128, allocations: 97 kB / 0.5228 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of SimCode: time 0.0002577/0.313, allocations: 0.5487 MB / 0.5233 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Templates: time 0.002671/0.3157, allocations: 0.601 MB / 0.5239 GB, free: 15.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches