Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001845/0.001845, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002408/0.002408, allocations: 211.8 kB / 23 MB, free: 5.605 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.476/1.476, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.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.2288/0.2288, allocations: 46.9 MB / 359.4 MB, free: 4.949 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 87.84 kB / 0.4946 GB, free: 8.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 65.98 MB / 0.5591 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001769/0.31, allocations: 0.5343 MB / 0.5596 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.3104, allocations: 159.5 kB / 0.5597 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.3104, allocations: 0 / 0.5597 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3105, allocations: 7.875 kB / 0.5597 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.3107, allocations: 35.83 kB / 0.5598 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.3107, allocations: 0 / 0.5598 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.3108, allocations: 31.86 kB / 0.5598 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.3108, allocations: 4 kB / 0.5598 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.3108, allocations: 11.92 kB / 0.5598 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.3109, allocations: 15.92 kB / 0.5598 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3109, allocations: 0 / 0.5598 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.311, allocations: 51.94 kB / 0.5599 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.311, allocations: 4 kB / 0.5599 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.311, allocations: 7.875 kB / 0.5599 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3111, allocations: 51.47 kB / 0.56 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3112, allocations: 0 / 0.56 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3112, allocations: 0 / 0.56 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3112, allocations: 0 / 0.56 GB, free: 4.156 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.0003432/0.3115, allocations: 348.8 kB / 0.5603 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3115, allocations: 12.02 kB / 0.5603 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3116, allocations: 8.938 kB / 0.5603 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3117, allocations: 160.4 kB / 0.5605 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3117, allocations: 8.375 kB / 0.5605 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3117, allocations: 384 / 0.5605 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3119, allocations: 62.17 kB / 0.5605 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3119, allocations: 192 / 0.5605 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3119, allocations: 11.94 kB / 0.5605 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3119, allocations: 0 / 0.5605 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.312, allocations: 51.95 kB / 0.5606 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.3122, allocations: 169.6 kB / 0.5607 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3123, allocations: 74.58 kB / 0.5608 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.3124, allocations: 32.84 kB / 0.5609 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/0.3127, allocations: 255.3 kB / 0.5611 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.3128, allocations: 30.56 kB / 0.5611 GB, free: 2.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.3128, allocations: 0 / 0.5611 GB, free: 2.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000233/0.313, allocations: 109.7 kB / 0.5612 GB, free: 2.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.313, allocations: 55.41 kB / 0.5613 GB, free: 2.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.3131, allocations: 93.86 kB / 0.5614 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3131, allocations: 25.7 kB / 0.5614 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3131, allocations: 84.27 kB / 0.5615 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.3132, allocations: 35.69 kB / 0.5615 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.3132, allocations: 25.7 kB / 0.5615 GB, free: 2.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3134, allocations: 314.8 kB / 0.5618 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.3134, allocations: 23.92 kB / 0.5619 GB, free: 1.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.3134, allocations: 16 kB / 0.5619 GB, free: 1.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.3135, allocations: 52.84 kB / 0.5619 GB, free: 1.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3135, allocations: 3.938 kB / 0.5619 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001268/0.3136, allocations: 85.58 kB / 0.562 GB, free: 1.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3137, allocations: 12 kB / 0.562 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3137, allocations: 3.938 kB / 0.562 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3137, allocations: 0 / 0.562 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3138, allocations: 20.62 kB / 0.562 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3138, allocations: 0 / 0.562 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.3138, allocations: 7.938 kB / 0.5621 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3138, allocations: 0 / 0.5621 GB, free: 1.73 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.719e-05/0.3139, allocations: 117.8 kB / 0.5622 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.3139, allocations: 3.953 kB / 0.5622 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.3141, allocations: 113.5 kB / 0.5623 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3141, allocations: 0 / 0.5623 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3141, allocations: 0 / 0.5623 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3141, allocations: 3.984 kB / 0.5623 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3143, allocations: 169.7 kB / 0.5624 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3143, allocations: 4 kB / 0.5624 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.3143, allocations: 19.98 kB / 0.5625 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3143, allocations: 0 / 0.5625 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3143, allocations: 3.938 kB / 0.5625 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3143, allocations: 0 / 0.5625 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3143, allocations: 4 kB / 0.5625 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3145, allocations: 113 kB / 0.5626 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.3145, allocations: 85.03 kB / 0.5627 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3146, allocations: 7.938 kB / 0.5627 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.3146, allocations: 4 kB / 0.5627 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.3146, allocations: 4 kB / 0.5627 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3146, allocations: 0 / 0.5627 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.912e-05/0.3146, allocations: 83.28 kB / 0.5628 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3146, allocations: 0 / 0.5628 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.3148, allocations: 15.98 kB / 0.5628 GB, free: 0.8906 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.0001316/0.315, allocations: 107.1 kB / 0.5629 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.3151, allocations: 55.91 kB / 0.5629 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3151, allocations: 3.938 kB / 0.5629 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.3152, allocations: 24.38 kB / 0.563 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3153, allocations: 4.188 kB / 0.563 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.3156, allocations: 152.9 kB / 0.5631 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3159, allocations: 0.6807 MB / 0.5638 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.316, allocations: 11.77 kB / 0.5638 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.316, allocations: 11.44 kB / 0.5638 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.316, allocations: 0 / 0.5638 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Templates: time 0.002796/0.3188, allocations: 0.673 MB / 0.5644 GB, free: 15.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.849402084946632]