Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001349/0.001349, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001483/0.001483, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.441/1.441, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2255/0.2255, allocations: 46.88 MB / 361.1 MB, free: 4.629 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [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.002398/0.002398, allocations: 79.88 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3063, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001551/0.3079, allocations: 0.507 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3097, allocations: 1.409 MB / 0.563 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.3098, allocations: 4 kB / 0.563 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.3098, allocations: 0 / 0.563 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.225e-05/0.3098, allocations: 3.938 kB / 0.563 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.3105, allocations: 219.7 kB / 0.5633 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.551e-05/0.3105, allocations: 11.98 kB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.3106, allocations: 0 / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.3106, allocations: 4 kB / 0.5633 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.3106, allocations: 0 / 0.5633 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3106, allocations: 4 kB / 0.5633 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.3111, allocations: 287.5 kB / 0.5635 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3111, allocations: 0 / 0.5635 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.3111, allocations: 7.922 kB / 0.5636 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3114, allocations: 146.3 kB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3114, allocations: 0 / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3114, allocations: 4 kB / 0.5637 GB, free: 2.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3114, allocations: 0 / 0.5637 GB, free: 2.426 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003961/0.3118, allocations: 339.3 kB / 0.564 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.3118, allocations: 8.031 kB / 0.564 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.3118, allocations: 8.922 kB / 0.564 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.312, allocations: 160.4 kB / 0.5642 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.312, allocations: 384 / 0.5642 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.312, allocations: 384 / 0.5642 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/0.3121, allocations: 41.95 kB / 0.5642 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.3121, allocations: 0 / 0.5642 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3121, allocations: 3.938 kB / 0.5642 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.3121, allocations: 3.938 kB / 0.5642 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.3121, allocations: 7.984 kB / 0.5642 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.3123, allocations: 145.7 kB / 0.5644 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.3123, allocations: 18.61 kB / 0.5644 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.3123, allocations: 4.859 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3123, allocations: 4 kB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3124, allocations: 46.48 kB / 0.5645 GB, free: 1.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3124, allocations: 0 / 0.5645 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.3125, allocations: 33.7 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3125, allocations: 51.41 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.3126, allocations: 93.86 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3126, allocations: 25.7 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.3127, allocations: 84.39 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.3127, allocations: 15.92 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3127, allocations: 13.72 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3129, allocations: 310.8 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.3129, allocations: 4 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.3129, allocations: 3.938 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.3129, allocations: 8.859 kB / 0.5651 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3129, allocations: 4.062 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.084e-05/0.313, allocations: 37.69 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.313, allocations: 10.28 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.313, allocations: 3.984 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.313, allocations: 0 / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.313, allocations: 4 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.313, allocations: 0 / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.3131, allocations: 4 kB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3131, allocations: 0 / 0.5651 GB, free: 0.7344 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 (1): * Single equations (assignments): 1 * 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.627e-05/0.3131, allocations: 109.9 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.3132, allocations: 7.938 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3133, allocations: 48.75 kB / 0.5653 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3133, allocations: 0 / 0.5653 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3133, allocations: 4 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3133, allocations: 0 / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3134, allocations: 153.6 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3134, allocations: 7.969 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3134, allocations: 0 / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3134, allocations: 3.938 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.3134, allocations: 0 / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3134, allocations: 0 / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3134, allocations: 0 / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.3135, allocations: 69.06 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.3135, allocations: 84.98 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.3135, allocations: 4.031 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.3136, allocations: 0 / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3136, allocations: 4 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3136, allocations: 0 / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.905e-05/0.3137, allocations: 79.27 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3137, allocations: 0 / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.3139, allocations: 39.94 kB / 0.5657 GB, free: 28 kB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002959/0.3142, allocations: 139.2 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.434e-05/0.3143, allocations: 8 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3143, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.3143, allocations: 33.64 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.3145, allocations: 0 / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.3147, allocations: 101 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.315, allocations: 0.669 MB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.315, allocations: 4.125 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.315, allocations: 11.44 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.315, allocations: 0 / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of Templates: time 0.003465/0.3185, allocations: 1.093 MB / 0.5677 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 5.067130223847926]