Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00134/0.00134, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.2168/0.2168, allocations: 46.96 MB / 360.8 MB, free: 3.973 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 75.88 kB / 0.4961 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2959, allocations: 66.09 MB / 0.5607 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001763/0.2976, allocations: 0.4939 MB / 0.5612 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2996, allocations: 1.362 MB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.2996, allocations: 0 / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.2996, allocations: 0 / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.606e-05/0.2997, allocations: 0 / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.3004, allocations: 207.3 kB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.759e-05/0.3004, allocations: 11.98 kB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3004, allocations: 4 kB / 0.5627 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.3005, allocations: 3.938 kB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.3005, allocations: 11.92 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3005, allocations: 4 kB / 0.5627 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00046/0.301, allocations: 259.6 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.301, allocations: 4 kB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.301, allocations: 0 / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3013, allocations: 145.4 kB / 0.5631 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3013, allocations: 4 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3013, allocations: 0 / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.3013, allocations: 3.984 kB / 0.5631 GB, free: 1.598 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.0003573/0.3016, allocations: 258.3 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3017, allocations: 8.031 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.3017, allocations: 34.75 kB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.3017, allocations: 8.891 kB / 0.5634 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.305e-05/0.3018, allocations: 102.5 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3018, allocations: 384 / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.3018, allocations: 384 / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.302, allocations: 75.45 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.302, allocations: 0 / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.302, allocations: 0 / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.302, allocations: 0 / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.302, allocations: 4 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.3024, allocations: 219.9 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.3025, allocations: 22.58 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.3025, allocations: 4.859 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3025, allocations: 64 / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3025, allocations: 38.5 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3025, allocations: 0 / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.3027, allocations: 33.7 kB / 0.5639 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3027, allocations: 55.41 kB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.3028, allocations: 93.84 kB / 0.564 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3028, allocations: 29.7 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.3029, allocations: 92.34 kB / 0.5641 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.3029, allocations: 3.953 kB / 0.5641 GB, free: 368 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3029, allocations: 13.72 kB / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.303, allocations: 318.8 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.3031, allocations: 8 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.3031, allocations: 22.56 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.3032, allocations: 22.58 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3032, allocations: 0 / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.708e-05/0.3032, allocations: 57.61 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3032, allocations: 6.188 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3033, allocations: 0 / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3033, allocations: 11.92 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.3033, allocations: 7.938 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3033, allocations: 0 / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.3033, allocations: 0 / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3034, allocations: 11.98 kB / 0.5646 GB, free: 15.85 MB / 414.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.553e-05/0.3034, allocations: 109.8 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.3035, allocations: 8.094 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3036, allocations: 40.86 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3036, allocations: 3.984 kB / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3036, allocations: 0 / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3036, allocations: 0 / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3037, allocations: 124.7 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3037, allocations: 0 / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.3037, allocations: 3.938 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3037, allocations: 4.031 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.3037, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3037, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3037, allocations: 4 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.3039, allocations: 135.5 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.3039, allocations: 7.953 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.3039, allocations: 0 / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.3039, allocations: 4 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-06/0.304, allocations: 0 / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.304, allocations: 3.984 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.304, allocations: 83.31 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.304, allocations: 0 / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.3043, allocations: 39.94 kB / 0.5652 GB, free: 15.21 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.0006248/0.3049, allocations: 0.7083 MB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.305, allocations: 11.98 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.305, allocations: 0 / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.3051, allocations: 33.64 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.3053, allocations: 4.375 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.3057, allocations: 130.5 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.3057, allocations: 55.36 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3057, allocations: 4 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.3058, allocations: 11.42 kB / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3058, allocations: 0 / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.334, allocations: 2.36 MB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.06, allocations: 9.766 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.87682799808681]