Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001798/0.001798, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002292/0.002292, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.54/1.54, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 76.53 kB / 0.4923 GB, free: 26.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1168, allocations: 65.99 MB / 0.5568 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001714/0.1185, allocations: 0.5008 MB / 0.5573 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.1188, allocations: 91.78 kB / 0.5574 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1188, allocations: 0 / 0.5574 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.1189, allocations: 3.938 kB / 0.5574 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.193e-05/0.1189, allocations: 0 / 0.5574 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1191, allocations: 23.91 kB / 0.5574 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.1192, allocations: 4 kB / 0.5574 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.1192, allocations: 4 kB / 0.5574 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.1192, allocations: 11.92 kB / 0.5574 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.1193, allocations: 4 kB / 0.5574 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1193, allocations: 0 / 0.5574 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1194, allocations: 35.95 kB / 0.5574 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.1194, allocations: 3.984 kB / 0.5574 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.1194, allocations: 7.938 kB / 0.5575 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1196, allocations: 31.78 kB / 0.5575 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1196, allocations: 4 kB / 0.5575 GB, free: 7.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1196, allocations: 0 / 0.5575 GB, free: 7.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1196, allocations: 0 / 0.5575 GB, free: 7.926 MB / 414.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.0004485/0.12, allocations: 331.9 kB / 0.5578 GB, free: 7.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1201, allocations: 8.031 kB / 0.5578 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.1201, allocations: 0.9375 kB / 0.5578 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1202, allocations: 164.3 kB / 0.558 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1203, allocations: 8.375 kB / 0.558 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1203, allocations: 384 / 0.558 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1204, allocations: 63.91 kB / 0.558 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1204, allocations: 192 / 0.558 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1204, allocations: 3.938 kB / 0.558 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1204, allocations: 0 / 0.558 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.1205, allocations: 15.98 kB / 0.5581 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1208, allocations: 321.1 kB / 0.5584 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.1209, allocations: 30.55 kB / 0.5584 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.121, allocations: 12.86 kB / 0.5584 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.121, allocations: 7.984 kB / 0.5584 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.121, allocations: 34.56 kB / 0.5584 GB, free: 6.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.121, allocations: 0 / 0.5584 GB, free: 6.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.1212, allocations: 61.67 kB / 0.5585 GB, free: 6.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1213, allocations: 55.41 kB / 0.5586 GB, free: 6.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.1213, allocations: 97.84 kB / 0.5586 GB, free: 6.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1214, allocations: 25.7 kB / 0.5587 GB, free: 6.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.1214, allocations: 84.14 kB / 0.5588 GB, free: 6.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1214, allocations: 15.89 kB / 0.5588 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1215, allocations: 21.66 kB / 0.5588 GB, free: 6.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1216, allocations: 314.8 kB / 0.5591 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.1216, allocations: 4.125 kB / 0.5591 GB, free: 6.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.1217, allocations: 21.72 kB / 0.5591 GB, free: 6.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.1217, allocations: 37.64 kB / 0.5592 GB, free: 5.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1217, allocations: 0 / 0.5592 GB, free: 5.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.591e-05/0.1218, allocations: 53.62 kB / 0.5592 GB, free: 5.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1218, allocations: 8 kB / 0.5592 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1218, allocations: 0 / 0.5592 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1219, allocations: 0 / 0.5592 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.1219, allocations: 15.97 kB / 0.5592 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1219, allocations: 0 / 0.5592 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.122, allocations: 3.953 kB / 0.5592 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.122, allocations: 8 kB / 0.5592 GB, free: 5.887 MB / 414.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.165e-05/0.122, allocations: 113.7 kB / 0.5593 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1221, allocations: 3.938 kB / 0.5593 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.1222, allocations: 65.17 kB / 0.5594 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1222, allocations: 0 / 0.5594 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1222, allocations: 0 / 0.5594 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.1222, allocations: 8 kB / 0.5594 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1224, allocations: 157.8 kB / 0.5596 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1224, allocations: 4 kB / 0.5596 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.1224, allocations: 11.94 kB / 0.5596 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1224, allocations: 0 / 0.5596 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1225, allocations: 0 / 0.5596 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1225, allocations: 0 / 0.5596 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1225, allocations: 0 / 0.5596 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.1226, allocations: 155.5 kB / 0.5597 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.1227, allocations: 85.06 kB / 0.5598 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1227, allocations: 3.984 kB / 0.5598 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.1227, allocations: 0 / 0.5598 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1228, allocations: 4 kB / 0.5598 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1228, allocations: 0 / 0.5598 GB, free: 5.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.1228, allocations: 75.28 kB / 0.5599 GB, free: 5.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1228, allocations: 0 / 0.5599 GB, free: 5.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.123, allocations: 15.94 kB / 0.5599 GB, free: 5.098 MB / 414.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.0001376/0.1232, allocations: 107.3 kB / 0.56 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.1233, allocations: 20 kB / 0.56 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1233, allocations: 0 / 0.56 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.1233, allocations: 19.92 kB / 0.56 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1235, allocations: 3.938 kB / 0.5601 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.1238, allocations: 134.7 kB / 0.5602 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1241, allocations: 0.6729 MB / 0.5608 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.1242, allocations: 19.48 kB / 0.5609 GB, free: 4.055 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1242, allocations: 0 / 0.5609 GB, free: 4.055 MB / 414.1 MB Notification: Performance of Templates: time 0.002218/0.1264, allocations: 0.5795 MB / 0.5614 GB, free: 3.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.288263464113697]