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.001631/0.001631, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.00133/0.00133, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.395/1.395, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2134/0.2134, allocations: 46.91 MB / 357.7 MB, free: 10.21 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.002204/0.002204, allocations: 79.86 kB / 0.4916 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1218, allocations: 66.05 MB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001643/0.1234, allocations: 499.1 kB / 0.5566 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1253, allocations: 1.419 MB / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.1253, allocations: 0 / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.1253, allocations: 7.875 kB / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.1253, allocations: 0 / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.126, allocations: 219.2 kB / 0.5582 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.41e-05/0.126, allocations: 7.938 kB / 0.5582 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.1261, allocations: 4 kB / 0.5582 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.1261, allocations: 3.984 kB / 0.5582 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.1261, allocations: 8 kB / 0.5582 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1262, allocations: 0 / 0.5582 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.1266, allocations: 275.6 kB / 0.5585 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1266, allocations: 7.938 kB / 0.5585 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.1266, allocations: 4 kB / 0.5585 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1268, allocations: 139.6 kB / 0.5586 GB, free: 2.992 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1268, allocations: 0 / 0.5586 GB, free: 2.992 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1268, allocations: 0 / 0.5586 GB, free: 2.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1269, allocations: 0 / 0.5586 GB, free: 2.992 MB / 414.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.0004069/0.1273, allocations: 343.3 kB / 0.559 GB, free: 2.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1273, allocations: 15.97 kB / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.639e-05/0.1273, allocations: 192 / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.1273, allocations: 30.75 kB / 0.559 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.1274, allocations: 4.875 kB / 0.559 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1275, allocations: 160.4 kB / 0.5592 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.1275, allocations: 384 / 0.5592 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1275, allocations: 4.375 kB / 0.5592 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.967e-05/0.1276, allocations: 37.62 kB / 0.5592 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1276, allocations: 0 / 0.5592 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1276, allocations: 4 kB / 0.5592 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1276, allocations: 0 / 0.5592 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.1276, allocations: 0 / 0.5592 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1278, allocations: 157.6 kB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.868e-05/0.1278, allocations: 14.58 kB / 0.5594 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.1279, allocations: 8.953 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1279, allocations: 7.938 kB / 0.5594 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1279, allocations: 34.56 kB / 0.5594 GB, free: 2.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1279, allocations: 0 / 0.5594 GB, free: 2.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.128, allocations: 37.64 kB / 0.5595 GB, free: 1.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1281, allocations: 51.41 kB / 0.5595 GB, free: 1.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.1281, allocations: 97.84 kB / 0.5596 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1281, allocations: 25.7 kB / 0.5596 GB, free: 1.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.1282, allocations: 88.39 kB / 0.5597 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.1282, allocations: 7.891 kB / 0.5597 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.1282, allocations: 13.72 kB / 0.5597 GB, free: 1.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1284, allocations: 310.8 kB / 0.56 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.1284, allocations: 3.938 kB / 0.56 GB, free: 1.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.1284, allocations: 0 / 0.56 GB, free: 1.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/0.1284, allocations: 12.84 kB / 0.56 GB, free: 1.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1284, allocations: 0 / 0.56 GB, free: 1.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.325e-05/0.1285, allocations: 49.64 kB / 0.5601 GB, free: 1.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1285, allocations: 4 kB / 0.5601 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1285, allocations: 0 / 0.5601 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1285, allocations: 4 kB / 0.5601 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.1286, allocations: 0 / 0.5601 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1286, allocations: 0 / 0.5601 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.1286, allocations: 0 / 0.5601 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1286, allocations: 4 kB / 0.5601 GB, free: 1.258 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 6.979e-05/0.1286, allocations: 109.8 kB / 0.5602 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.1287, allocations: 11.91 kB / 0.5602 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.1288, allocations: 44.83 kB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1288, allocations: 0 / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1288, allocations: 0 / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1288, allocations: 11.92 kB / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.1289, allocations: 141.7 kB / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.1289, allocations: 3.938 kB / 0.5604 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1289, allocations: 4.031 kB / 0.5604 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1289, allocations: 4 kB / 0.5604 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.1289, allocations: 0 / 0.5604 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.1289, allocations: 3.984 kB / 0.5604 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1289, allocations: 0 / 0.5604 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.262e-05/0.129, allocations: 57.14 kB / 0.5605 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.129, allocations: 85.03 kB / 0.5606 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.129, allocations: 4.031 kB / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.1291, allocations: 7.984 kB / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.1291, allocations: 0 / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1291, allocations: 0 / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.022e-05/0.1291, allocations: 79.28 kB / 0.5606 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1291, allocations: 0 / 0.5606 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1294, allocations: 39.94 kB / 0.5607 GB, free: 0.5625 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.0005487/0.13, allocations: 0.6436 MB / 0.5613 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.13, allocations: 4 kB / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.13, allocations: 0 / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.1301, allocations: 29.7 kB / 0.5613 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1302, allocations: 6.75 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.1305, allocations: 130.7 kB / 0.5615 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1308, allocations: 0.6768 MB / 0.5621 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.384e-05/0.1308, allocations: 0 / 0.5621 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.1309, allocations: 11.44 kB / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1309, allocations: 0 / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.1468, allocations: 1.892 MB / 0.564 GB, free: 13.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.933, allocations: 4 kB / 0.564 GB, free: 13.16 MB / 430.1 MB " [Timeout remaining time 652] (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: 10.78989003499737]