Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001291/0.001291, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001461/0.001461, allocations: 211.5 kB / 25.13 MB, free: 3.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.402/1.402, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2196/0.2196, allocations: 46.93 MB / 362 MB, free: 4.227 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.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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [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.002349/0.002349, allocations: 79.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.283, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001624/0.2846, allocations: 0.5305 MB / 0.5628 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004233/0.285, allocations: 163.5 kB / 0.563 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.2851, allocations: 3.938 kB / 0.563 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2851, allocations: 7.938 kB / 0.563 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.2853, allocations: 31.84 kB / 0.563 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.918e-06/0.2853, allocations: 0 / 0.563 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.2854, allocations: 23.92 kB / 0.5631 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.2854, allocations: 4 kB / 0.5631 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.2855, allocations: 7.938 kB / 0.5631 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.2855, allocations: 19.91 kB / 0.5631 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.2855, allocations: 0 / 0.5631 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.2856, allocations: 51.94 kB / 0.5631 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.2857, allocations: 3.938 kB / 0.5631 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.2857, allocations: 11.94 kB / 0.5631 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.2858, allocations: 50.62 kB / 0.5632 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2858, allocations: 0 / 0.5632 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2858, allocations: 0 / 0.5632 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2858, allocations: 0 / 0.5632 GB, free: 3.359 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.0003226/0.2861, allocations: 265.9 kB / 0.5635 GB, free: 3.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2862, allocations: 11.97 kB / 0.5635 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.2862, allocations: 8.922 kB / 0.5635 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2863, allocations: 110.5 kB / 0.5636 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2863, allocations: 4.375 kB / 0.5636 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.2863, allocations: 4.375 kB / 0.5636 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2864, allocations: 54.25 kB / 0.5636 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2865, allocations: 4.172 kB / 0.5636 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2865, allocations: 7.938 kB / 0.5636 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2865, allocations: 4 kB / 0.5637 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.2866, allocations: 47.95 kB / 0.5637 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.2868, allocations: 152.6 kB / 0.5638 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.2869, allocations: 70.55 kB / 0.5639 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.287, allocations: 28.86 kB / 0.5639 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.2872, allocations: 27.95 kB / 0.564 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2872, allocations: 30.56 kB / 0.564 GB, free: 2.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2872, allocations: 0 / 0.564 GB, free: 2.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002453/0.2875, allocations: 109.8 kB / 0.5641 GB, free: 2.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2875, allocations: 51.41 kB / 0.5641 GB, free: 2.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.2876, allocations: 101.8 kB / 0.5642 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2876, allocations: 25.7 kB / 0.5643 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.2877, allocations: 80.14 kB / 0.5643 GB, free: 2.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.2877, allocations: 35.69 kB / 0.5644 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.2877, allocations: 25.72 kB / 0.5644 GB, free: 1.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2879, allocations: 314.8 kB / 0.5647 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.2879, allocations: 20.38 kB / 0.5647 GB, free: 1.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.288, allocations: 20.05 kB / 0.5647 GB, free: 1.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.372e-05/0.288, allocations: 52.8 kB / 0.5648 GB, free: 1.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.288, allocations: 4 kB / 0.5648 GB, free: 1.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001418/0.2882, allocations: 89.56 kB / 0.5649 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2882, allocations: 4 kB / 0.5649 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2882, allocations: 3.938 kB / 0.5649 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2882, allocations: 4 kB / 0.5649 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.2883, allocations: 15.94 kB / 0.5649 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2883, allocations: 0 / 0.5649 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.2883, allocations: 7.938 kB / 0.5649 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.2883, allocations: 8 kB / 0.5649 GB, free: 1.406 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 7.691e-05/0.2884, allocations: 109.8 kB / 0.565 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.2884, allocations: 11.95 kB / 0.565 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.2886, allocations: 105.4 kB / 0.5651 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2886, allocations: 0 / 0.5651 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2886, allocations: 0 / 0.5651 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2886, allocations: 0 / 0.5651 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2888, allocations: 140.7 kB / 0.5653 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2888, allocations: 384 / 0.5653 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.2889, allocations: 16 kB / 0.5653 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2889, allocations: 0 / 0.5653 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2889, allocations: 11.94 kB / 0.5653 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2889, allocations: 7.938 kB / 0.5653 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2889, allocations: 3.984 kB / 0.5653 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.289, allocations: 109 kB / 0.5654 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.289, allocations: 3.938 kB / 0.5654 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2891, allocations: 11.94 kB / 0.5654 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.2891, allocations: 4 kB / 0.5654 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.2891, allocations: 7.922 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2891, allocations: 4 kB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.2892, allocations: 79.28 kB / 0.5655 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2892, allocations: 0 / 0.5655 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.2894, allocations: 15.98 kB / 0.5655 GB, free: 0.6953 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.0001256/0.2895, allocations: 111.2 kB / 0.5656 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.2896, allocations: 55.95 kB / 0.5657 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2896, allocations: 0 / 0.5657 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.2897, allocations: 31.92 kB / 0.5657 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2898, allocations: 10.44 kB / 0.5657 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.2901, allocations: 136.9 kB / 0.5659 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.2904, allocations: 0.6807 MB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.765e-05/0.2905, allocations: 15.77 kB / 0.5665 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2905, allocations: 15.44 kB / 0.5666 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2905, allocations: 0 / 0.5666 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.002966/0.2935, allocations: 0.6812 MB / 0.5672 GB, free: 14.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.600635433802381]