Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001256/0.001256, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001406/0.001406, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.471/1.471, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2265/0.2265, allocations: 46.89 MB / 361.1 MB, free: 4.652 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [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.002318/0.002318, allocations: 79.88 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3236, allocations: 65.99 MB / 0.5612 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001637/0.3253, allocations: 0.4915 MB / 0.5617 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.3271, allocations: 1.416 MB / 0.563 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.3271, allocations: 4 kB / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.3272, allocations: 0 / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.693e-05/0.3272, allocations: 0 / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.3279, allocations: 223.6 kB / 0.5633 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.685e-05/0.3279, allocations: 11.97 kB / 0.5633 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.328, allocations: 0 / 0.5633 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.328, allocations: 8 kB / 0.5633 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.328, allocations: 0 / 0.5633 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.328, allocations: 8 kB / 0.5633 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.3285, allocations: 279.6 kB / 0.5635 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.3286, allocations: 11.88 kB / 0.5636 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.3286, allocations: 0 / 0.5636 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.3289, allocations: 146.5 kB / 0.5637 GB, free: 2.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3289, allocations: 0 / 0.5637 GB, free: 2.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3289, allocations: 0 / 0.5637 GB, free: 2.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3289, allocations: 0 / 0.5637 GB, free: 2.473 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004001/0.3293, allocations: 335.4 kB / 0.564 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3293, allocations: 12.03 kB / 0.564 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.3294, allocations: 12.88 kB / 0.564 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3295, allocations: 160.4 kB / 0.5642 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3295, allocations: 384 / 0.5642 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3295, allocations: 4.312 kB / 0.5642 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3296, allocations: 46 kB / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3296, allocations: 0 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3297, allocations: 0 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3297, allocations: 0 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/0.3297, allocations: 7.938 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.3302, allocations: 248.9 kB / 0.5645 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.3302, allocations: 18.56 kB / 0.5645 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.3303, allocations: 8.922 kB / 0.5645 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3303, allocations: 0 / 0.5645 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3303, allocations: 34.56 kB / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3303, allocations: 0 / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.3305, allocations: 45.64 kB / 0.5646 GB, free: 1.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3305, allocations: 55.39 kB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.3306, allocations: 93.86 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3306, allocations: 25.7 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.3307, allocations: 92.03 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.3307, allocations: 3.953 kB / 0.5649 GB, free: 1.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3307, allocations: 13.72 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3308, allocations: 323 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.3309, allocations: 8 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.3309, allocations: 18.58 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.992e-05/0.3309, allocations: 26.52 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3309, allocations: 0 / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.719e-05/0.331, allocations: 53.56 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.331, allocations: 8 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.331, allocations: 0 / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3311, allocations: 0 / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.3311, allocations: 4 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3311, allocations: 7.984 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.3311, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3311, allocations: 8 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.813e-05/0.3312, allocations: 117.8 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.3312, allocations: 0 / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/0.3313, allocations: 44.81 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3313, allocations: 0 / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3313, allocations: 3.938 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.3313, allocations: 4 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.3315, allocations: 145.6 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3315, allocations: 4.031 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.3315, allocations: 4 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3315, allocations: 3.984 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.3315, allocations: 0 / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3315, allocations: 0 / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3315, allocations: 0 / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.3316, allocations: 135.4 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.3317, allocations: 77.11 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3317, allocations: 4.031 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.3318, allocations: 7.984 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.3318, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3318, allocations: 4 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.3318, allocations: 79.28 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3318, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.3321, allocations: 39.94 kB / 0.5659 GB, free: 15.83 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 (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.0002774/0.3324, allocations: 139.2 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.3325, allocations: 15.94 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3325, allocations: 0 / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.3325, allocations: 33.7 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.3327, allocations: 3.938 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.3329, allocations: 93.03 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3333, allocations: 0.669 MB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.876e-05/0.3333, allocations: 12.33 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.3333, allocations: 7.438 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3333, allocations: 0 / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Templates: time 0.00361/0.3369, allocations: 1.104 MB / 0.568 GB, free: 13.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.33179191686213]