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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 210.6 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.91 MB / 359.4 MB, free: 4.844 MB / 286.1 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 87.84 kB / 0.4946 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.298, allocations: 65.99 MB / 0.5591 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001581/0.2996, allocations: 0.507 MB / 0.5596 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.2999, allocations: 95.66 kB / 0.5597 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.2999, allocations: 0 / 0.5597 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.2999, allocations: 4 kB / 0.5597 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.651e-05/0.2999, allocations: 0 / 0.5597 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3001, allocations: 19.91 kB / 0.5597 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.383e-05/0.3002, allocations: 12 kB / 0.5597 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.3002, allocations: 3.984 kB / 0.5597 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.3002, allocations: 11.92 kB / 0.5597 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.3003, allocations: 4 kB / 0.5597 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.3003, allocations: 4 kB / 0.5597 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.3004, allocations: 31.95 kB / 0.5597 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3004, allocations: 4 kB / 0.5597 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.3004, allocations: 7.938 kB / 0.5597 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.681e-05/0.3005, allocations: 27.56 kB / 0.5598 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3005, allocations: 0 / 0.5598 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3005, allocations: 0 / 0.5598 GB, free: 4.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3005, allocations: 4 kB / 0.5598 GB, free: 4.34 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.0004635/0.301, allocations: 332.9 kB / 0.5601 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.301, allocations: 8.031 kB / 0.5601 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.3011, allocations: 4.938 kB / 0.5601 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3012, allocations: 164.4 kB / 0.5603 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.3012, allocations: 384 / 0.5603 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3012, allocations: 8.312 kB / 0.5603 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3014, allocations: 55.97 kB / 0.5603 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3014, allocations: 192 / 0.5603 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3014, allocations: 7.922 kB / 0.5603 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3014, allocations: 0 / 0.5603 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.3014, allocations: 8 kB / 0.5603 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.3018, allocations: 325 kB / 0.5607 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.3018, allocations: 34.55 kB / 0.5607 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3019, allocations: 8.859 kB / 0.5607 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.3019, allocations: 0 / 0.5607 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3019, allocations: 38.56 kB / 0.5607 GB, free: 3.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3019, allocations: 4 kB / 0.5607 GB, free: 3.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001863/0.3021, allocations: 61.67 kB / 0.5608 GB, free: 3.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3021, allocations: 51.41 kB / 0.5608 GB, free: 3.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.3022, allocations: 97.84 kB / 0.5609 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3022, allocations: 29.7 kB / 0.561 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.3023, allocations: 80.14 kB / 0.561 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.3023, allocations: 11.84 kB / 0.5611 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.3023, allocations: 21.66 kB / 0.5611 GB, free: 2.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3025, allocations: 326.9 kB / 0.5614 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.3025, allocations: 4 kB / 0.5614 GB, free: 2.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.3025, allocations: 25.72 kB / 0.5614 GB, free: 2.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.3026, allocations: 29.64 kB / 0.5614 GB, free: 2.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3026, allocations: 0 / 0.5614 GB, free: 2.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001053/0.3027, allocations: 61.86 kB / 0.5615 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3027, allocations: 4 kB / 0.5615 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3027, allocations: 4.031 kB / 0.5615 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3027, allocations: 3.938 kB / 0.5615 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.3028, allocations: 8 kB / 0.5615 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3028, allocations: 0 / 0.5615 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.3028, allocations: 11.94 kB / 0.5615 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3028, allocations: 0 / 0.5615 GB, free: 2.305 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 8.636e-05/0.3029, allocations: 121.8 kB / 0.5616 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3029, allocations: 0 / 0.5616 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.3031, allocations: 65.12 kB / 0.5617 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3031, allocations: 0 / 0.5617 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3031, allocations: 0 / 0.5617 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3031, allocations: 0 / 0.5617 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3033, allocations: 157.6 kB / 0.5619 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3033, allocations: 0 / 0.5619 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.3033, allocations: 12 kB / 0.5619 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3033, allocations: 0 / 0.5619 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3033, allocations: 0 / 0.5619 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3033, allocations: 4 kB / 0.5619 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3033, allocations: 3.984 kB / 0.5619 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.3035, allocations: 151.7 kB / 0.562 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.3035, allocations: 85.05 kB / 0.5621 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3036, allocations: 4 kB / 0.5621 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.3036, allocations: 4 kB / 0.5621 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.3036, allocations: 3.938 kB / 0.5621 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3036, allocations: 0 / 0.5621 GB, free: 1.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.616e-05/0.3037, allocations: 79.28 kB / 0.5622 GB, free: 1.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3037, allocations: 4.094 kB / 0.5622 GB, free: 1.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3039, allocations: 4 kB / 0.5622 GB, free: 1.52 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.0001454/0.304, allocations: 111.1 kB / 0.5623 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3042, allocations: 20 kB / 0.5623 GB, free: 1.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3042, allocations: 0 / 0.5623 GB, free: 1.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.3042, allocations: 15.92 kB / 0.5623 GB, free: 1.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3044, allocations: 7.938 kB / 0.5623 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.3047, allocations: 117 kB / 0.5625 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.305, allocations: 0.6806 MB / 0.5631 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.305, allocations: 0 / 0.5631 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.305, allocations: 11.44 kB / 0.5631 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.305, allocations: 0 / 0.5631 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Templates: time 0.002732/0.3077, allocations: 477.4 kB / 0.5636 GB, free: 32 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.953253255225718]