Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001689/0.001689, allocations: 105.5 kB / 19.81 MB, free: 2.516 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.001952/0.001952, allocations: 191.5 kB / 22.97 MB, free: 5.617 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.435/1.435, allocations: 225.6 MB / 251.6 MB, free: 13.33 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.2327/0.2327, allocations: 44.91 MB / 351.6 MB, free: 12.19 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 63.89 kB / 495.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4083, allocations: 64.26 MB / 0.5464 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001684/0.41, allocations: 0.541 MB / 0.5469 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.4104, allocations: 158.1 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.4104, allocations: 0 / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.4105, allocations: 9 kB / 0.5471 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.4107, allocations: 40.34 kB / 0.5471 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.4107, allocations: 1.094 kB / 0.5471 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.4108, allocations: 28.42 kB / 0.5471 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.4108, allocations: 2.125 kB / 0.5471 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.009e-05/0.4109, allocations: 7.188 kB / 0.5471 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.4109, allocations: 20.09 kB / 0.5472 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4109, allocations: 1.031 kB / 0.5472 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.4111, allocations: 52.88 kB / 0.5472 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.4111, allocations: 0 / 0.5472 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.4111, allocations: 14.09 kB / 0.5472 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.4112, allocations: 46.19 kB / 0.5473 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4112, allocations: 1.062 kB / 0.5473 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4112, allocations: 0 / 0.5473 GB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.4112, allocations: 0 / 0.5473 GB, free: 12.52 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004456/0.4117, allocations: 345.8 kB / 0.5476 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4117, allocations: 8.969 kB / 0.5476 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4117, allocations: 10.56 kB / 0.5476 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.4119, allocations: 162.5 kB / 0.5478 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.412, allocations: 1.375 kB / 0.5478 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.412, allocations: 7.344 kB / 0.5478 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.4121, allocations: 64.61 kB / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4121, allocations: 9.141 kB / 0.5478 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4121, allocations: 3.938 kB / 0.5478 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4122, allocations: 2.031 kB / 0.5479 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.4123, allocations: 53.27 kB / 0.5479 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.4125, allocations: 164.1 kB / 0.5481 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.4127, allocations: 74.67 kB / 0.5481 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.4127, allocations: 32.53 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.4131, allocations: 249.8 kB / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4131, allocations: 31.69 kB / 0.5484 GB, free: 11.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.4131, allocations: 0 / 0.5484 GB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003477/0.4135, allocations: 114.3 kB / 0.5485 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.4135, allocations: 52.78 kB / 0.5486 GB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.4136, allocations: 95.2 kB / 0.5487 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.4136, allocations: 27.11 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.4137, allocations: 80.14 kB / 0.5488 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.4137, allocations: 39.98 kB / 0.5488 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.4138, allocations: 27.58 kB / 0.5488 GB, free: 10.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.414, allocations: 312.4 kB / 0.5491 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.414, allocations: 18.83 kB / 0.5492 GB, free: 10.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.4141, allocations: 22.81 kB / 0.5492 GB, free: 10.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.4141, allocations: 57.91 kB / 0.5492 GB, free: 10.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4141, allocations: 0 / 0.5492 GB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001304/0.4143, allocations: 83.03 kB / 0.5493 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4143, allocations: 5.719 kB / 0.5493 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4143, allocations: 3.938 kB / 0.5493 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4143, allocations: 1.625 kB / 0.5493 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4144, allocations: 23.7 kB / 0.5494 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4144, allocations: 1.031 kB / 0.5494 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.4144, allocations: 9.047 kB / 0.5494 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4145, allocations: 10.09 kB / 0.5494 GB, free: 10.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.419e-05/0.4145, allocations: 112 kB / 0.5495 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.4146, allocations: 2.875 kB / 0.5495 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.4147, allocations: 104 kB / 0.5496 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4147, allocations: 0 / 0.5496 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4147, allocations: 1.688 kB / 0.5496 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4148, allocations: 3.984 kB / 0.5496 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.4149, allocations: 167.7 kB / 0.5497 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4149, allocations: 1.406 kB / 0.5497 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.415, allocations: 20.17 kB / 0.5498 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.415, allocations: 1.188 kB / 0.5498 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.415, allocations: 9.188 kB / 0.5498 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.415, allocations: 0 / 0.5498 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.415, allocations: 1.312 kB / 0.5498 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.4151, allocations: 103.7 kB / 0.5499 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.4152, allocations: 91.17 kB / 0.55 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4152, allocations: 12.84 kB / 0.55 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.4152, allocations: 5.062 kB / 0.55 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.4153, allocations: 2.25 kB / 0.55 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4153, allocations: 2.906 kB / 0.55 GB, free: 9.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.4153, allocations: 76.06 kB / 0.5501 GB, free: 9.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4153, allocations: 0 / 0.5501 GB, free: 9.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.4155, allocations: 19.86 kB / 0.5501 GB, free: 9.672 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 (10): * Single equations (assignments): 10 * 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.0001704/0.4157, allocations: 114.5 kB / 0.5502 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.4158, allocations: 51.66 kB / 0.5502 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4158, allocations: 5.094 kB / 0.5502 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.4159, allocations: 24.72 kB / 0.5503 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.416, allocations: 2.312 kB / 0.5503 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.4163, allocations: 144.7 kB / 0.5504 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.4167, allocations: 0.6858 MB / 0.5511 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.98e-05/0.4167, allocations: 19.98 kB / 0.5511 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.4168, allocations: 10.5 kB / 0.5511 GB, free: 8.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4168, allocations: 0.9688 kB / 0.5511 GB, free: 8.68 MB / 398.1 MB Notification: Performance of Templates: time 0.003068/0.4198, allocations: 0.6767 MB / 0.5518 GB, free: 8.328 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.98238171916455]