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.001888/0.001888, allocations: 121.5 kB / 18.46 MB, free: 4.59 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.002238/0.002238, allocations: 209.8 kB / 21.4 MB, free: 1.645 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.422/1.422, allocations: 227.4 MB / 251.6 MB, free: 276 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.2185/0.2185, allocations: 46.18 MB / 351.1 MB, free: 14.38 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.002271/0.002271, allocations: 73.14 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1092, allocations: 62.45 MB / 0.5397 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001523/0.1107, allocations: 0.5016 MB / 0.5402 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.111, allocations: 96.11 kB / 0.5403 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.1111, allocations: 0 / 0.5403 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1111, allocations: 0 / 0.5403 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.1111, allocations: 0 / 0.5403 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.1113, allocations: 15.92 kB / 0.5403 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.1114, allocations: 11.98 kB / 0.5403 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.1114, allocations: 4 kB / 0.5403 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.1114, allocations: 11.94 kB / 0.5403 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.1115, allocations: 7.969 kB / 0.5403 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1115, allocations: 0 / 0.5403 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.287e-05/0.1116, allocations: 31.97 kB / 0.5403 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.1116, allocations: 0 / 0.5403 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.1116, allocations: 15.92 kB / 0.5403 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.1117, allocations: 23.86 kB / 0.5404 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1117, allocations: 0 / 0.5404 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1118, allocations: 0 / 0.5404 GB, free: 3.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1118, allocations: 4 kB / 0.5404 GB, free: 3.559 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.0004039/0.1122, allocations: 335.5 kB / 0.5407 GB, free: 3.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1122, allocations: 8.031 kB / 0.5407 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.1122, allocations: 0.9375 kB / 0.5407 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1124, allocations: 168.3 kB / 0.5409 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1124, allocations: 4.312 kB / 0.5409 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1124, allocations: 4.312 kB / 0.5409 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1125, allocations: 55.97 kB / 0.5409 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1125, allocations: 192 / 0.5409 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1126, allocations: 3.938 kB / 0.5409 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1126, allocations: 4 kB / 0.5409 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.1126, allocations: 11.98 kB / 0.5409 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.113, allocations: 329.1 kB / 0.5413 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.939e-05/0.113, allocations: 30.52 kB / 0.5413 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.1131, allocations: 16.94 kB / 0.5413 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1131, allocations: 0 / 0.5413 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1131, allocations: 34.56 kB / 0.5413 GB, free: 2.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1131, allocations: 0 / 0.5413 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.1133, allocations: 65.75 kB / 0.5414 GB, free: 2.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1134, allocations: 51.41 kB / 0.5414 GB, free: 2.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.1134, allocations: 97.86 kB / 0.5415 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1135, allocations: 29.7 kB / 0.5416 GB, free: 2.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.1135, allocations: 80.14 kB / 0.5416 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.1135, allocations: 11.89 kB / 0.5417 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1136, allocations: 17.72 kB / 0.5417 GB, free: 2.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1137, allocations: 314.8 kB / 0.542 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.1137, allocations: 4 kB / 0.542 GB, free: 1.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.1138, allocations: 33.77 kB / 0.542 GB, free: 1.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.1139, allocations: 25.66 kB / 0.542 GB, free: 1.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1139, allocations: 0 / 0.542 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.173e-05/0.114, allocations: 61.62 kB / 0.5421 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.114, allocations: 4 kB / 0.5421 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.114, allocations: 0 / 0.5421 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.114, allocations: 3.938 kB / 0.5421 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.1141, allocations: 11.98 kB / 0.5421 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1141, allocations: 4.031 kB / 0.5421 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.1141, allocations: 7.953 kB / 0.5421 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1141, allocations: 0 / 0.5421 GB, free: 1.52 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.477e-05/0.1142, allocations: 117.7 kB / 0.5422 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1142, allocations: 4 kB / 0.5422 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.1144, allocations: 65.25 kB / 0.5423 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1144, allocations: 0 / 0.5423 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1144, allocations: 0 / 0.5423 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1144, allocations: 3.984 kB / 0.5423 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1146, allocations: 161.6 kB / 0.5425 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1146, allocations: 0 / 0.5425 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.1146, allocations: 8 kB / 0.5425 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1146, allocations: 3.938 kB / 0.5425 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.1146, allocations: 4 kB / 0.5425 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1146, allocations: 4 kB / 0.5425 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1147, allocations: 0 / 0.5425 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1148, allocations: 147.5 kB / 0.5426 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1149, allocations: 85.06 kB / 0.5427 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1149, allocations: 4 kB / 0.5427 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.1149, allocations: 0 / 0.5427 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.115, allocations: 11.92 kB / 0.5427 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.115, allocations: 0 / 0.5427 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.939e-05/0.115, allocations: 79.28 kB / 0.5428 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.115, allocations: 0 / 0.5428 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1152, allocations: 4 kB / 0.5428 GB, free: 0.7305 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.0001295/0.1154, allocations: 99.34 kB / 0.5429 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1155, allocations: 31.92 kB / 0.5429 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1155, allocations: 0 / 0.5429 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.1155, allocations: 15.94 kB / 0.5429 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1157, allocations: 9.625 kB / 0.5429 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.116, allocations: 105 kB / 0.543 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1163, allocations: 0.6807 MB / 0.5437 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.1164, allocations: 4.062 kB / 0.5437 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.1164, allocations: 11.44 kB / 0.5437 GB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1164, allocations: 0 / 0.5437 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Templates: time 0.002726/0.1191, allocations: 464.6 kB / 0.5442 GB, free: 15.26 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/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_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: 4.6036445097997785]