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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 191.7 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 44.91 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 495.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001658/0.3159, allocations: 0.5078 MB / 0.5469 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.3162, allocations: 99.48 kB / 0.547 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.3162, allocations: 3.938 kB / 0.547 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.3163, allocations: 0 / 0.547 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.752e-05/0.3163, allocations: 1.531 kB / 0.547 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.3165, allocations: 19.42 kB / 0.547 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.084e-05/0.3165, allocations: 10.36 kB / 0.547 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.3166, allocations: 5.531 kB / 0.547 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.3166, allocations: 6.672 kB / 0.547 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.3166, allocations: 10.42 kB / 0.547 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3167, allocations: 1.281 kB / 0.547 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.3167, allocations: 30.25 kB / 0.547 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.3167, allocations: 1.312 kB / 0.547 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.3168, allocations: 13.14 kB / 0.5471 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.331e-05/0.3169, allocations: 24.95 kB / 0.5471 GB, free: 12.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3169, allocations: 7.984 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3169, allocations: 0 / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3169, allocations: 0.9062 kB / 0.5471 GB, free: 12.66 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.0004305/0.3173, allocations: 332 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3173, allocations: 9.531 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3174, allocations: 10.23 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3175, allocations: 164.4 kB / 0.5476 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3175, allocations: 1.562 kB / 0.5476 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.3175, allocations: 7.031 kB / 0.5476 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.3176, allocations: 54.41 kB / 0.5476 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3177, allocations: 1.344 kB / 0.5476 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3177, allocations: 3.938 kB / 0.5477 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3177, allocations: 1.031 kB / 0.5477 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.728e-05/0.3177, allocations: 15.48 kB / 0.5477 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.3181, allocations: 323.4 kB / 0.548 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.625e-05/0.3181, allocations: 23.67 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.3182, allocations: 18.47 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3182, allocations: 0 / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.3182, allocations: 36.03 kB / 0.548 GB, free: 11.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3182, allocations: 0 / 0.548 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000181/0.3184, allocations: 57.98 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3184, allocations: 56.62 kB / 0.5482 GB, free: 11.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3186, allocations: 92.48 kB / 0.5482 GB, free: 11.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3186, allocations: 29.7 kB / 0.5483 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.3187, allocations: 86.12 kB / 0.5484 GB, free: 11.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3187, allocations: 16.73 kB / 0.5484 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.3188, allocations: 17.62 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3189, allocations: 312.2 kB / 0.5487 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.3189, allocations: 15.52 kB / 0.5487 GB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.319, allocations: 15.5 kB / 0.5487 GB, free: 10.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.319, allocations: 35.88 kB / 0.5488 GB, free: 10.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.319, allocations: 3.938 kB / 0.5488 GB, free: 10.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.573e-05/0.3191, allocations: 54.59 kB / 0.5488 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3191, allocations: 5.125 kB / 0.5488 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3191, allocations: 1.094 kB / 0.5488 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3192, allocations: 1.125 kB / 0.5488 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.3192, allocations: 22.42 kB / 0.5488 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3192, allocations: 0.9375 kB / 0.5488 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.3193, allocations: 1.906 kB / 0.5488 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3193, allocations: 1.156 kB / 0.5488 GB, free: 10.77 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 9.554e-05/0.3194, allocations: 111.8 kB / 0.5489 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.3194, allocations: 1.094 kB / 0.5489 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.3195, allocations: 59.66 kB / 0.549 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3195, allocations: 1.094 kB / 0.549 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3195, allocations: 9.328 kB / 0.549 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3195, allocations: 7.938 kB / 0.549 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3197, allocations: 163.2 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3197, allocations: 3.938 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.3197, allocations: 7.125 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3198, allocations: 0 / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3198, allocations: 0.75 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3198, allocations: 0.9062 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3198, allocations: 0 / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3199, allocations: 157.4 kB / 0.5493 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.32, allocations: 78.3 kB / 0.5494 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.32, allocations: 0 / 0.5494 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.32, allocations: 1.062 kB / 0.5494 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.32, allocations: 6.484 kB / 0.5494 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3201, allocations: 5.156 kB / 0.5494 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.3201, allocations: 76.62 kB / 0.5495 GB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3201, allocations: 0 / 0.5495 GB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.3203, allocations: 9.812 kB / 0.5495 GB, free: 10.04 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.0001299/0.3204, allocations: 103.4 kB / 0.5496 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.3206, allocations: 26.73 kB / 0.5496 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3206, allocations: 0 / 0.5496 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.3206, allocations: 16.19 kB / 0.5496 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3208, allocations: 9.375 kB / 0.5497 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.3211, allocations: 106.1 kB / 0.5498 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.3214, allocations: 0.6862 MB / 0.5504 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.3215, allocations: 2.562 kB / 0.5504 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.3215, allocations: 9.656 kB / 0.5504 GB, free: 9.098 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3215, allocations: 0 / 0.5504 GB, free: 9.098 MB / 398.1 MB Notification: Performance of Templates: time 0.002805/0.3243, allocations: 489.2 kB / 0.5509 GB, free: 8.844 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.951434421353042]