Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 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.2105/0.2105, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 79.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3077, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001543/0.3093, allocations: 0.499 MB / 0.5315 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003008/0.3096, allocations: 99.23 kB / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.3096, allocations: 0 / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.3096, allocations: 4 kB / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.074e-05/0.3097, allocations: 3.938 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.3099, allocations: 13.36 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.3099, allocations: 9.359 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.31, allocations: 5.719 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.31, allocations: 11.5 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.3101, allocations: 9.781 kB / 0.5316 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3101, allocations: 1.781 kB / 0.5316 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.314e-05/0.3102, allocations: 31.41 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.3102, allocations: 0 / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.3102, allocations: 9.531 kB / 0.5317 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.3103, allocations: 31.84 kB / 0.5317 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3104, allocations: 1.125 kB / 0.5317 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3104, allocations: 0 / 0.5317 GB, free: 13.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3104, allocations: 0 / 0.5317 GB, free: 13.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004114/0.3108, allocations: 325.8 kB / 0.532 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3108, allocations: 10 kB / 0.532 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.3109, allocations: 3.219 kB / 0.532 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.311, allocations: 168.4 kB / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.311, allocations: 4.375 kB / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.311, allocations: 2.594 kB / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3111, allocations: 53.62 kB / 0.5322 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3112, allocations: 192 / 0.5322 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3112, allocations: 3.938 kB / 0.5322 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3112, allocations: 0 / 0.5322 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.3112, allocations: 14.16 kB / 0.5322 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.3115, allocations: 336.5 kB / 0.5326 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.3116, allocations: 23.42 kB / 0.5326 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.3117, allocations: 19.67 kB / 0.5326 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3117, allocations: 0 / 0.5326 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3117, allocations: 32.56 kB / 0.5326 GB, free: 12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3117, allocations: 0 / 0.5326 GB, free: 12 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.3119, allocations: 63.55 kB / 0.5327 GB, free: 11.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3119, allocations: 51.41 kB / 0.5327 GB, free: 11.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.312, allocations: 96.77 kB / 0.5328 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.312, allocations: 25.7 kB / 0.5329 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.3121, allocations: 80.14 kB / 0.5329 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.3121, allocations: 12.06 kB / 0.533 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.3121, allocations: 21.02 kB / 0.533 GB, free: 11.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3123, allocations: 318.9 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.3123, allocations: 7.938 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.3123, allocations: 23.11 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.158e-05/0.3124, allocations: 32.38 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3124, allocations: 0 / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001/0.3125, allocations: 61.47 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3125, allocations: 5.5 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3125, allocations: 7.969 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3125, allocations: 1.375 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.3126, allocations: 6.875 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3126, allocations: 1.375 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.3127, allocations: 9.391 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3127, allocations: 5.375 kB / 0.5334 GB, free: 11.2 MB / 398.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 7.622e-05/0.3128, allocations: 111.2 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3128, allocations: 1.375 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.3129, allocations: 66.31 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3129, allocations: 5.375 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.313, allocations: 3.984 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.313, allocations: 0 / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3131, allocations: 159.1 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3131, allocations: 0 / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.3132, allocations: 10.86 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3132, allocations: 1.375 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3132, allocations: 0 / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3132, allocations: 1.375 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3132, allocations: 0 / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.3134, allocations: 161.3 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3134, allocations: 81.02 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3134, allocations: 1.375 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.3135, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3135, allocations: 6.75 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3135, allocations: 1.375 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.475e-05/0.3136, allocations: 80.64 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3136, allocations: 4.094 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.3138, allocations: 5.5 kB / 0.5341 GB, free: 10.47 MB / 398.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.0001333/0.3139, allocations: 94.38 kB / 0.5342 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.3141, allocations: 36.36 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3141, allocations: 0 / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.3141, allocations: 9.625 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3143, allocations: 14.08 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.3146, allocations: 110.7 kB / 0.5344 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3149, allocations: 0.6819 MB / 0.535 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.3149, allocations: 5.312 kB / 0.535 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.3149, allocations: 9.938 kB / 0.535 GB, free: 9.523 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3149, allocations: 3.938 kB / 0.535 GB, free: 9.52 MB / 398.1 MB Notification: Performance of Templates: time 0.002456/0.3174, allocations: 465.5 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches