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.001324/0.001324, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001432/0.001432, allocations: 185.2 kB / 24.51 MB, free: 4.012 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.426/1.426, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2235/0.2235, allocations: 44.91 MB / 353.5 MB, free: 11.82 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.002059/0.002059, allocations: 67.89 kB / 497.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3043, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001671/0.3059, allocations: 0.5258 MB / 0.5493 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.3062, allocations: 96.33 kB / 0.5494 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.3063, allocations: 1.156 kB / 0.5494 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.3063, allocations: 0 / 0.5494 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.878e-05/0.3063, allocations: 0 / 0.5494 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.3065, allocations: 16.5 kB / 0.5494 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.3066, allocations: 14.02 kB / 0.5494 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.3066, allocations: 5.859 kB / 0.5494 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.3066, allocations: 6.844 kB / 0.5494 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.3067, allocations: 6.125 kB / 0.5494 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3067, allocations: 0.7812 kB / 0.5495 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.3068, allocations: 39.05 kB / 0.5495 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.3068, allocations: 1.219 kB / 0.5495 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.3068, allocations: 5.344 kB / 0.5495 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3069, allocations: 30.89 kB / 0.5495 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3069, allocations: 5.469 kB / 0.5495 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3069, allocations: 0 / 0.5495 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3069, allocations: 0 / 0.5495 GB, free: 12.61 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.00041/0.3073, allocations: 253.2 kB / 0.5498 GB, free: 12.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3074, allocations: 10.17 kB / 0.5498 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3074, allocations: 8.891 kB / 0.5498 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3075, allocations: 113.3 kB / 0.5499 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.3075, allocations: 1.938 kB / 0.5499 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3075, allocations: 1.688 kB / 0.5499 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3077, allocations: 50.81 kB / 0.5499 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.3077, allocations: 192 / 0.5499 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3077, allocations: 5.281 kB / 0.55 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3077, allocations: 1.219 kB / 0.55 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.3077, allocations: 21.64 kB / 0.55 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.3081, allocations: 292.2 kB / 0.5503 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/0.3081, allocations: 22.77 kB / 0.5503 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.3082, allocations: 18.56 kB / 0.5503 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3082, allocations: 1.156 kB / 0.5503 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3082, allocations: 35.91 kB / 0.5503 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3082, allocations: 3.938 kB / 0.5503 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.3084, allocations: 53.88 kB / 0.5504 GB, free: 11.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3084, allocations: 52.97 kB / 0.5504 GB, free: 11.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.3085, allocations: 92.42 kB / 0.5505 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3085, allocations: 29.7 kB / 0.5506 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.3086, allocations: 89.42 kB / 0.5506 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3086, allocations: 13.09 kB / 0.5506 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3086, allocations: 21.81 kB / 0.5507 GB, free: 11.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3088, allocations: 312.1 kB / 0.551 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.3088, allocations: 11.11 kB / 0.551 GB, free: 11.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.3089, allocations: 15.25 kB / 0.551 GB, free: 11.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.958e-05/0.3089, allocations: 40.48 kB / 0.551 GB, free: 10.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3089, allocations: 0 / 0.551 GB, free: 10.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.741e-05/0.309, allocations: 63.5 kB / 0.5511 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.309, allocations: 8.234 kB / 0.5511 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.309, allocations: 1.531 kB / 0.5511 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3091, allocations: 0 / 0.5511 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.3091, allocations: 7 kB / 0.5511 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3091, allocations: 1.625 kB / 0.5511 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.3092, allocations: 5.344 kB / 0.5511 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3092, allocations: 5.469 kB / 0.5511 GB, free: 10.91 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.729e-05/0.3093, allocations: 115.3 kB / 0.5512 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.3093, allocations: 5.281 kB / 0.5512 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.3094, allocations: 72.89 kB / 0.5513 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3094, allocations: 0 / 0.5513 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3094, allocations: 1.625 kB / 0.5513 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3094, allocations: 0 / 0.5513 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3096, allocations: 134.3 kB / 0.5514 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3096, allocations: 0 / 0.5514 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.3097, allocations: 6.969 kB / 0.5514 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3097, allocations: 0 / 0.5514 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3097, allocations: 1.312 kB / 0.5514 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3097, allocations: 4 kB / 0.5514 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3097, allocations: 0 / 0.5514 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.3098, allocations: 158 kB / 0.5516 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.3098, allocations: 1.281 kB / 0.5516 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3098, allocations: 1.469 kB / 0.5516 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.3099, allocations: 0 / 0.5516 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.3099, allocations: 5.359 kB / 0.5516 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.3099, allocations: 5.219 kB / 0.5516 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.31, allocations: 81.06 kB / 0.5517 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.31, allocations: 0 / 0.5517 GB, free: 10.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00023/0.3102, allocations: 5.75 kB / 0.5517 GB, free: 10.31 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.0001232/0.3103, allocations: 98.69 kB / 0.5518 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3105, allocations: 31.02 kB / 0.5518 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3105, allocations: 3.938 kB / 0.5518 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.3105, allocations: 11.98 kB / 0.5518 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.3107, allocations: 13.72 kB / 0.5518 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.311, allocations: 99.16 kB / 0.5519 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3113, allocations: 0.6813 MB / 0.5526 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.3113, allocations: 10.89 kB / 0.5526 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.3114, allocations: 9.219 kB / 0.5526 GB, free: 9.355 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3114, allocations: 5.312 kB / 0.5526 GB, free: 9.352 MB / 398.1 MB Notification: Performance of Templates: time 0.002817/0.3142, allocations: 490.6 kB / 0.5531 GB, free: 9.105 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.871240804903209]