Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 213.5 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 46.96 MB / 360.9 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001869/0.3189, allocations: 0.4993 MB / 0.5615 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3213, allocations: 1.35 MB / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.3213, allocations: 0 / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.3213, allocations: 0 / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.3213, allocations: 0 / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.3221, allocations: 223.8 kB / 0.5631 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.3221, allocations: 4 kB / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.3222, allocations: 0 / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.3222, allocations: 7.938 kB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.3222, allocations: 3.984 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3223, allocations: 4 kB / 0.5631 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.3227, allocations: 263.6 kB / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.3227, allocations: 0 / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.3228, allocations: 0 / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.323, allocations: 154 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.323, allocations: 4 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.323, allocations: 0 / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.323, allocations: 0 / 0.5635 GB, free: 1.672 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.0003874/0.3234, allocations: 258.3 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3234, allocations: 12.03 kB / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3235, allocations: 4.891 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.104e-05/0.3236, allocations: 106.5 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3236, allocations: 4.375 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.3236, allocations: 384 / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3237, allocations: 75.58 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3237, allocations: 0 / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3237, allocations: 4 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3238, allocations: 4 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.3238, allocations: 4 kB / 0.5639 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.3242, allocations: 188.6 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.3242, allocations: 22.55 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.3242, allocations: 8.922 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.3242, allocations: 3.938 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3243, allocations: 30.56 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.3243, allocations: 0 / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.3244, allocations: 41.7 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3245, allocations: 51.41 kB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.3246, allocations: 97.84 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3246, allocations: 25.7 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.3246, allocations: 88.03 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.3247, allocations: 7.953 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.3247, allocations: 13.72 kB / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3248, allocations: 314.8 kB / 0.5648 GB, free: 168 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.3249, allocations: 3.984 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.3249, allocations: 26.52 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.3249, allocations: 30.77 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3249, allocations: 3.938 kB / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.671e-05/0.325, allocations: 49.62 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.325, allocations: 4 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.325, allocations: 4 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3251, allocations: 0 / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.3251, allocations: 7.938 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3251, allocations: 4.094 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.3251, allocations: 4 kB / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.3251, allocations: 0 / 0.5649 GB, free: 4 kB / 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 0.0001006/0.3252, allocations: 121.8 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3253, allocations: 0 / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3254, allocations: 40.86 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3254, allocations: 0 / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3254, allocations: 0 / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3254, allocations: 4.031 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.3255, allocations: 109.2 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3255, allocations: 3.938 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.3255, allocations: 96 / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3255, allocations: 3.984 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3255, allocations: 4 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3255, allocations: 3.938 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3255, allocations: 0 / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3257, allocations: 135.5 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.3257, allocations: 3.953 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3257, allocations: 8.031 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.3257, allocations: 0 / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.3257, allocations: 0 / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3257, allocations: 0 / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.263e-05/0.3258, allocations: 79.28 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3261, allocations: 43.92 kB / 0.5655 GB, free: 15.39 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.0002755/0.3263, allocations: 135.2 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.3264, allocations: 24.02 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3264, allocations: 0 / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.3265, allocations: 33.64 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3267, allocations: 7.875 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.3269, allocations: 85.05 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.253e-05/0.327, allocations: 55.36 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.139e-05/0.327, allocations: 3.938 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.327, allocations: 7.688 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.327, allocations: 4 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Templates: time 0.003697/0.3307, allocations: 1.071 MB / 0.5669 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.023525273427367]