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.001335/0.001335, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002866/0.002866, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.373/1.373, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2169/0.2169, allocations: 46.95 MB / 361.6 MB, free: 3.957 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.00223/0.00223, allocations: 71.88 kB / 0.4969 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3238, allocations: 66.08 MB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001677/0.3255, allocations: 499.4 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3274, allocations: 1.346 MB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.3274, allocations: 0 / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.3274, allocations: 0 / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.3274, allocations: 3.938 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.3281, allocations: 223.2 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.3282, allocations: 12 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3282, allocations: 3.984 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.3283, allocations: 7.984 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.3283, allocations: 0 / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3283, allocations: 4 kB / 0.5635 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.3288, allocations: 275.6 kB / 0.5637 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.3288, allocations: 0 / 0.5637 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.3288, allocations: 3.938 kB / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.329, allocations: 149.5 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3291, allocations: 0 / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3291, allocations: 0 / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3291, allocations: 4 kB / 0.5639 GB, free: 1.547 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.0003786/0.3294, allocations: 262.2 kB / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3295, allocations: 12.03 kB / 0.5641 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.05e-05/0.3295, allocations: 192 / 0.5641 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.3295, allocations: 30.75 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.3296, allocations: 0.9375 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3297, allocations: 110.5 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3297, allocations: 4.312 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.3297, allocations: 384 / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3298, allocations: 71.27 kB / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3298, allocations: 0 / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.3298, allocations: 0 / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3298, allocations: 0 / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.3299, allocations: 8 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.33, allocations: 112.8 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.627e-05/0.3301, allocations: 18.61 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.3301, allocations: 12.84 kB / 0.5645 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.3301, allocations: 11.94 kB / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3301, allocations: 34.5 kB / 0.5645 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.3301, allocations: 0 / 0.5645 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000132/0.3302, allocations: 37.7 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3303, allocations: 51.41 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.3304, allocations: 97.86 kB / 0.5647 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3304, allocations: 29.69 kB / 0.5647 GB, free: 500 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.3304, allocations: 80.14 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.3305, allocations: 3.953 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3305, allocations: 13.72 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3306, allocations: 310.8 kB / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.3306, allocations: 0 / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.3306, allocations: 12.19 kB / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.3307, allocations: 12.86 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3307, allocations: 0 / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.902e-05/0.3307, allocations: 37.62 kB / 0.5652 GB, free: 0 / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.3308, allocations: 8.047 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3308, allocations: 0 / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3308, allocations: 0 / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.3308, allocations: 0 / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3308, allocations: 0 / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.3309, allocations: 4 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3309, allocations: 4.094 kB / 0.5652 GB, free: 15.98 MB / 414.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.73e-05/0.3309, allocations: 109.8 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.331, allocations: 3.938 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3311, allocations: 48.8 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3311, allocations: 0 / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3311, allocations: 0 / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.3311, allocations: 0 / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.3312, allocations: 128.8 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3312, allocations: 7.938 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3312, allocations: 0 / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3312, allocations: 3.938 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3312, allocations: 0 / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3312, allocations: 0 / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3312, allocations: 3.984 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.642e-05/0.3313, allocations: 65.06 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-06/0.3313, allocations: 11.88 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.3313, allocations: 0 / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.3314, allocations: 8.031 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.3314, allocations: 4 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3314, allocations: 0 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.3314, allocations: 83.27 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3314, allocations: 0 / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.3317, allocations: 35.94 kB / 0.5657 GB, free: 15.4 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.000554/0.3322, allocations: 0.6357 MB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.3323, allocations: 8 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3323, allocations: 4.188 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.3323, allocations: 29.7 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3324, allocations: 3.984 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3328, allocations: 122.6 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.446e-05/0.3328, allocations: 59.3 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.297e-05/0.3328, allocations: 0 / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.3329, allocations: 11.44 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3329, allocations: 0 / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.3532, allocations: 2.026 MB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.99, allocations: 14.06 kB / 0.5685 GB, free: 12.5 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.786797616980039]