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.001602/0.001602, allocations: 121 kB / 19.13 MB, free: 3.902 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.001728/0.001728, allocations: 210.6 kB / 22.08 MB, free: 0.9531 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.443/1.443, allocations: 227.4 MB / 252.3 MB, free: 48 kB / 190.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.2291/0.2291, allocations: 46.17 MB / 351.8 MB, free: 14.25 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.002304/0.002304, allocations: 80.48 kB / 490.8 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1114, allocations: 62.45 MB / 0.5403 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001599/0.1131, allocations: 0.5085 MB / 0.5408 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003007/0.1134, allocations: 96.11 kB / 0.5409 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1134, allocations: 4 kB / 0.5409 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.1135, allocations: 0 / 0.5409 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.957e-05/0.1135, allocations: 0 / 0.5409 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.1137, allocations: 15.92 kB / 0.5409 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.1137, allocations: 7.984 kB / 0.5409 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.1138, allocations: 4 kB / 0.5409 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.1138, allocations: 11.94 kB / 0.541 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.1139, allocations: 7.984 kB / 0.541 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1139, allocations: 0 / 0.541 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.114, allocations: 31.97 kB / 0.541 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.114, allocations: 0 / 0.541 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1141, allocations: 11.94 kB / 0.541 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1142, allocations: 27.83 kB / 0.541 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1142, allocations: 0 / 0.541 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1142, allocations: 0 / 0.541 GB, free: 3.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1142, allocations: 0 / 0.541 GB, free: 3.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004422/0.1147, allocations: 335.5 kB / 0.5413 GB, free: 3.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1147, allocations: 8.031 kB / 0.5414 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1147, allocations: 0.9375 kB / 0.5414 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1149, allocations: 172.2 kB / 0.5415 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1149, allocations: 8.375 kB / 0.5415 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1149, allocations: 4.375 kB / 0.5415 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1151, allocations: 51.97 kB / 0.5416 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1151, allocations: 8.125 kB / 0.5416 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1151, allocations: 3.938 kB / 0.5416 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1151, allocations: 0 / 0.5416 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.1152, allocations: 15.94 kB / 0.5416 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.1155, allocations: 325.2 kB / 0.5419 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.1156, allocations: 22.52 kB / 0.5419 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.1156, allocations: 20.86 kB / 0.542 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1157, allocations: 0 / 0.542 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1157, allocations: 30.56 kB / 0.542 GB, free: 2.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1157, allocations: 0 / 0.542 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.1159, allocations: 61.67 kB / 0.542 GB, free: 2.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1159, allocations: 59.39 kB / 0.5421 GB, free: 2.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.116, allocations: 93.86 kB / 0.5422 GB, free: 2.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1161, allocations: 25.83 kB / 0.5422 GB, free: 2.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.1161, allocations: 88.14 kB / 0.5423 GB, free: 2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.1161, allocations: 7.906 kB / 0.5423 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1162, allocations: 21.7 kB / 0.5423 GB, free: 1.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1163, allocations: 314.8 kB / 0.5426 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.1163, allocations: 8 kB / 0.5426 GB, free: 1.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.1164, allocations: 21.7 kB / 0.5427 GB, free: 1.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.1164, allocations: 37.83 kB / 0.5427 GB, free: 1.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1164, allocations: 0 / 0.5427 GB, free: 1.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.74e-05/0.1165, allocations: 65.56 kB / 0.5428 GB, free: 1.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1166, allocations: 4 kB / 0.5428 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1166, allocations: 0 / 0.5428 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1166, allocations: 0 / 0.5428 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.1167, allocations: 8 kB / 0.5428 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1167, allocations: 0 / 0.5428 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.1167, allocations: 7.953 kB / 0.5428 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1167, allocations: 8.016 kB / 0.5428 GB, free: 1.473 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.049e-05/0.1168, allocations: 113.7 kB / 0.5429 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1168, allocations: 4 kB / 0.5429 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.117, allocations: 61.12 kB / 0.543 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.117, allocations: 4 kB / 0.543 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.117, allocations: 0 / 0.543 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.117, allocations: 0 / 0.543 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1172, allocations: 161.8 kB / 0.5431 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1172, allocations: 4 kB / 0.5431 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1172, allocations: 12 kB / 0.5431 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1172, allocations: 3.984 kB / 0.5431 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1173, allocations: 0 / 0.5431 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1173, allocations: 0 / 0.5431 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1173, allocations: 7.938 kB / 0.5431 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1174, allocations: 151.5 kB / 0.5433 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.1175, allocations: 81.06 kB / 0.5434 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1175, allocations: 0 / 0.5434 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.1175, allocations: 11.94 kB / 0.5434 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1176, allocations: 0 / 0.5434 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1176, allocations: 4 kB / 0.5434 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.1176, allocations: 83.27 kB / 0.5435 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1176, allocations: 0 / 0.5435 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1179, allocations: 4 kB / 0.5435 GB, free: 0.6797 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.0001334/0.118, allocations: 99.19 kB / 0.5436 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1181, allocations: 28.14 kB / 0.5436 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1181, allocations: 4 kB / 0.5436 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.1182, allocations: 11.94 kB / 0.5436 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1184, allocations: 11.94 kB / 0.5436 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.1187, allocations: 130.7 kB / 0.5437 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.119, allocations: 0.6768 MB / 0.5444 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.119, allocations: 11.44 kB / 0.5444 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.119, allocations: 0 / 0.5444 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.002367/0.1214, allocations: 0.5781 MB / 0.545 GB, free: 15.06 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.223633292946033]