Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001251/0.001251, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001388/0.001388, allocations: 210.3 kB / 24.53 MB, free: 4.07 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.364/1.364, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2125/0.2125, allocations: 46.92 MB / 361.6 MB, free: 4.18 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.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 83.86 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2814, allocations: 66.08 MB / 0.5615 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00156/0.2829, allocations: 495.4 kB / 0.562 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2848, allocations: 1.428 MB / 0.5633 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.2848, allocations: 0 / 0.5633 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2848, allocations: 0 / 0.5633 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.209e-05/0.2849, allocations: 4 kB / 0.5634 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.2855, allocations: 215.3 kB / 0.5636 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.2856, allocations: 8 kB / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.2856, allocations: 7.984 kB / 0.5636 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.2856, allocations: 0 / 0.5636 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.2856, allocations: 7.984 kB / 0.5636 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2857, allocations: 4 kB / 0.5636 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.2861, allocations: 275.6 kB / 0.5638 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2861, allocations: 4 kB / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.2861, allocations: 7.922 kB / 0.5639 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.2863, allocations: 141.6 kB / 0.564 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2864, allocations: 0 / 0.564 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2864, allocations: 0 / 0.564 GB, free: 1.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2864, allocations: 4 kB / 0.564 GB, free: 1.625 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.0003512/0.2867, allocations: 258.2 kB / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2867, allocations: 16.03 kB / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.095e-05/0.2868, allocations: 192 / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.2868, allocations: 30.75 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.2868, allocations: 0.9375 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.2869, allocations: 110.5 kB / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.2869, allocations: 384 / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2869, allocations: 384 / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.287, allocations: 45.5 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.287, allocations: 0 / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.287, allocations: 4 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.287, allocations: 0 / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.2871, allocations: 4 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.2872, allocations: 120.8 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.2872, allocations: 18.61 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.2873, allocations: 8.859 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.2873, allocations: 3.938 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.2873, allocations: 42.56 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.2873, allocations: 0 / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.2874, allocations: 33.69 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2874, allocations: 55.41 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.2875, allocations: 93.8 kB / 0.5648 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2875, allocations: 29.7 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.2876, allocations: 84.14 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2876, allocations: 4.203 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2876, allocations: 13.72 kB / 0.5649 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2877, allocations: 310.8 kB / 0.5652 GB, free: 184 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.2878, allocations: 7.984 kB / 0.5652 GB, free: 176 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.2878, allocations: 0 / 0.5652 GB, free: 176 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.2878, allocations: 16.8 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2878, allocations: 0 / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.832e-05/0.2878, allocations: 37.64 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2879, allocations: 10.28 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2879, allocations: 0 / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2879, allocations: 0 / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.2879, allocations: 4 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2879, allocations: 0 / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.2879, allocations: 3.984 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.288, allocations: 0 / 0.5653 GB, free: 96 kB / 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 8.914e-05/0.288, allocations: 110.9 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.2881, allocations: 3.938 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.2882, allocations: 52.78 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.2882, allocations: 4 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2882, allocations: 0 / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2882, allocations: 3.938 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.173e-05/0.2883, allocations: 116.8 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.2883, allocations: 7.922 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.2883, allocations: 3.984 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2883, allocations: 4.031 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2883, allocations: 4 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2883, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2883, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.241e-05/0.2884, allocations: 61.08 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.2884, allocations: 7.938 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.2884, allocations: 3.984 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.2885, allocations: 8.031 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.2885, allocations: 0 / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2885, allocations: 4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.2885, allocations: 79.28 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2885, allocations: 0 / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.2888, allocations: 39.92 kB / 0.5658 GB, free: 15.51 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.0005215/0.2893, allocations: 0.6397 MB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.2894, allocations: 11.94 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2894, allocations: 0 / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-05/0.2894, allocations: 29.7 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2895, allocations: 2.25 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.2899, allocations: 122.6 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2902, allocations: 0.6808 MB / 0.5672 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.2902, allocations: 4 kB / 0.5672 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.2902, allocations: 7.438 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2902, allocations: 0 / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.3104, allocations: 1.974 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.73, allocations: 14.36 kB / 0.5692 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.466495273984037]